PreReg Suite ---- Report Date: 2024-08-23 ---- Tested Environment: released ---- Commit Id is: 99b40a46 & Branch Name is:develop
Server Component Details
Group: io.mosip.hotlist ---- Artifact: hotlist-service ---- version: 1.2.1.0 ---- Commit ID: 50926c8
Group: io.mosip.admin ---- Artifact: admin-service ---- version: 1.2.1.0 ---- Commit ID: 50926c8
Group: io.mosip.kernel ---- Artifact: kernel-auditmanager-service ---- version: 1.2.0.1 ---- Commit ID: 50926c8
Group: io.mosip.kernel ---- Artifact: kernel-auth-service ---- version: 1.2.0.1 ---- Commit ID: 50926c8
Group: io.mosip.biosdk ---- Artifact: biosdk-services ---- version: 1.2.0.1 ---- Commit ID: 2a87b3b
Group: io.mosip.idrepository ---- Artifact: credential-service ---- version: 1.2.1.0 ---- Commit ID: 50926c8
Group: io.mosip.idrepository ---- Artifact: credential-request-generator ---- version: 1.2.1.0 ---- Commit ID: 50926c8
Group: io.mosip.datashare ---- Artifact: data-share-service ---- version: 1.2.0.1 ---- Commit ID: 50926c8
Group: io.mosip.authentication ---- Artifact: authentication-service ---- version: 1.2.0.1 ---- Commit ID: 86640e4
Group: io.mosip.authentication ---- Artifact: authentication-internal-service ---- version: 1.2.0.1 ---- Commit ID: 86640e4
Group: io.mosip.authentication ---- Artifact: authentication-otp-service ---- version: 1.2.0.1 ---- Commit ID: 50926c8
Group: io.mosip.idrepository ---- Artifact: id-repository-identity-service ---- version: 1.2.1.0 ---- Commit ID: 821bac2
Group: io.mosip.kernel ---- Artifact: kernel-keymanager-service ---- version: 1.2.0.1 ---- Commit ID: 50926c8
Group: io.mosip.kernel ---- Artifact: kernel-masterdata-service ---- version: 1.2.1.0 ---- Commit ID: 50926c8
Group: io.mosip.kernel ---- Artifact: kernel-notification-service ---- version: 1.2.0.1 ---- Commit ID: 50926c8
Group: io.mosip.kernel ---- Artifact: kernel-otpmanager-service ---- version: 1.2.0.1 ---- Commit ID: 50926c8
Group: io.mosip.pms ---- Artifact: partner-management-service ---- version: 1.2.1.0 ---- Commit ID: 50926c8
Group: io.mosip.pms ---- Artifact: policy-management-service ---- version: 1.2.1.0 ---- Commit ID: 50926c8
End Points used
Domain: api-internal.released.mosip.net ---- Module: idauthentication ---- End Point: idauthentication/v1/internal/getCertificate
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/appointment/preRegistrationId/{registrationCenterId}?from_date=2020-10-01&to_date=2021-10-13
Domain: api-internal.released.mosip.net ---- Module: auditmanager ---- End Point: v1/auditmanager/actuator/info
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/appointment/availability/{registrationCenterId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/documents/{preRegistrationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/login/sendOtp/langcode
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/appointment?preRegistrationId={preRegistrationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/appointment
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/login/validateOtp
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/appointment/{preRegistrationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/{applicationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/updateregistration
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/prereg/updatedTime
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/documents/preregistration/{preRegistrationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/prereg
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/lostuin
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/prereg/info/{preRegistrationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/notification
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/prereg/{preRegistrationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/appointment/availability/
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber}
Domain: api-internal.released.mosip.net ---- Module: masterdata ---- End Point: v1/masterdata/actuator/env
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/bookings/{regCenterId}?from_date=2020-10-01&to_date=2034-10-13
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId}
Domain: api-internal.released.mosip.net ---- Module: masterdata ---- End Point: v1/masterdata/idschema/latest
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/{preRegistrationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/prereg/{applicationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications?type={type}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/bookings/{regCenterId}?from_date=2020-45461&to_date=2034-10-13
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/login/invalidateToken
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/appointment/preRegistrationId/{registrationCenterId}?from_date=2020-10-01&to_date=2034-10-13
Domain: api-internal.released.mosip.net ---- Module: idauthentication ---- End Point: idauthentication/v1/actuator/env
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/bookings/{regCenterId}?from_date=20204555&to_date=2034-10-13
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/sync
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/notification/notify
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/transliteration/transliterate
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/appointment/{preRegistrationId}
Domain: api-internal.released.mosip.net ---- Module: preregistration ---- End Point: preregistration/v1/applications/prereg/status/{preRegistrationId}
Server Errors 
No server errors
Test ScenarioPrerequisite Step# Total# Passed# Skipped# Failed# IgnoredExecution Time (ms)
CreatePreregistration282800029,977
UpdatePreregistration151500011,404
GetApplicationWithPrId11000467
FetchApplicationByPrid220001,016
GetApplicationStatusWithPrId330001,286
Uploaddocument474700043,752
UpdateDocRefID770003,194
CopyDocument440002,399
UpdatePreRegStatus990006,398
GetAllDocForPrId220001,118
GetSpecificDocumentforaPRID330002,679
GetPRIDByDateRange19180109,293
BookAppointment292900067,110
FetchAppointmentDetailsByPrid22000946
BookAppointmentByPRID232300051,290
GetAppointmentDetails540102,801
CancelAppointment440001,966
CancelApplicationsAppointment220001,036
GetAvailableSlotForRegCentreId330001,738
GetBookingsForRegCenter400401,772
GetPRIDForRegCent22000892
SendNotifications420201,816
DeleteSpecificDocForaPRID330002,062
DeleteAllDocForaPRID220001,261
DeleteBooking11000548
InvalidateToken11000443
Transliteration330001,335
GetAllApplications430105,471
GetAllApplicationsWithapplicationId330001,325
GetUpdatedDateTimeByPrid22000884
AddUpdateRegistration220004,622
AddLostUinApplication9900020,072
DeleteLostUinApplication550003,034
DeletePreRegistration220001,428
GetPreRegInfo220001,351
GetAllPreRegApplications330003,807
SendOtp880004,375
ValidateOtp660002,935
Total274265090299,303
Test CaseTest Case DescriptionExecution Time (ms)
CreatePreregistration — Passed
Prereg_CreatePrereg_All_Valid_Smoke_BookByPRID_sidCreating preregistration for a valid booking using the PRID (Patient Registration ID)899
Prereg_CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sidCreating preregistration with a valid updated document reference ID827
Prereg_CreatePrereg_All_Valid_Smoke_date_verification_sidCreating preregistration with an invalid OTP1538
Prereg_CreatePrereg_All_Valid_Smoke_for_expiry_sidCreating preregistration, booking an appointment, and checking the expiration status if the user does not reach the center by the scheduled slot time831
Prereg_CreatePrereg_All_Valid_Smoke_sidCreating demographic details with valid data6561
Prereg_CreatePrereg_Invalid_OTP_Neg_StatusCodeCreating preregistration with an invalid OTP424
Prereg_CreatePrereg_Invalid_PostalCode_NegCreating preregistration with an invalid postal code628
Prereg_CreatePrereg_Smoke_CancelApplicationsAppointment_sidCreating preregistration and cancelling the appointment after booking746
Prereg_CreatePrereg_Smoke_CancellAppointment_sidCreating preregistration data to cancel a booked appointment837
Prereg_CreatePrereg_Smoke_alldel_sidCreating preregistration to delete data848
Prereg_CreatePrereg_SpacialCharacter_PostalCode_NegCreating preregistration with a special character in the postal code636
Prereg_CreatePrereg_Valid_Smoke_sidCreating demographic details with valid data789
Prereg_CreatePrereg_blank_id_sidCreating preregistration with a blank ID458
Prereg_CreatePrereg_book_appoinment_without_update_prereg_status_sidCreating preregistration for booking an appointment without updating preregistration status961
Prereg_CreatePrereg_cancell_incomplete_prid_sidCreating preregistration and canceling the incomplete PRID803
Prereg_CreatePrereg_cancell_pending_appoinment_prid_sidCreating preregistration and canceling pending appointment using PRID739
Prereg_CreatePrereg_in_Valid_id_sidCreating demographic details with an invalid field ID469
Prereg_CreatePrereg_invalid_email_sidCreating preregistration with an invalid email address680
Prereg_CreatePrereg_invalid_langCode_sidCreating preregistration with an invalid langcode706
Prereg_CreatePrereg_invalid_requesttime_format_sidCreating preregistration with an invalid request-time format424
Prereg_CreatePrereg_invalid_version_sidCreating preregistration with an invalid version440
Prereg_CreatePrereg_missing_id_sidCreating preregistration with a missing ID444
Prereg_CreatePrereg_missing_langCode_sidCreating preregistration without specifying a langcode694
Prereg_CreatePrereg_missing_requesttime_sidCreating preregistration without specifying a request time449
Prereg_CreatePrereg_missing_version_sidCreating preregistration without specifying a version435
Prereg_CreatePrereg_previous_date_sidCreating preregistration with a previous date430
Prereg_CreatePrereg_with_future_dateCreating preregistration with a future date807
Prereg_CreatePrereg_with_special_characters_dateCreating preregistration with special characters on the date filed783
UpdatePreregistration — Passed
Prereg_UpdatePrereg_All_Valid_Smoke_BookByPRID_sidUpdate the demographic data for booking an appointment with the new PRID1109
Prereg_UpdatePrereg_All_Valid_Smoke_sidUpdate demographic data for a new preregistration application3186
Prereg_UpdatePrereg_INVALID_langCode_sidUpdate the demographic data with an invalid language code683
Prereg_UpdatePrereg_INVALID_requesttime_sidUpdate the demographic data with an invalid request time490
Prereg_UpdatePrereg_Missing_requesttime_sidUpdate the demographic data without a request time428
Prereg_UpdatePrereg_blank_id_sidUpdate the demographic data with a blank ID417
Prereg_UpdatePrereg_inValid_dateOfBirth_sidUpdate the demographic data with an invalid date of birth673
Prereg_UpdatePrereg_invalid_Version_sidUpdate the demographic data with an invalid version426
Prereg_UpdatePrereg_invalid_email_sidUpdate the demographic data with an invalid email address698
Prereg_UpdatePrereg_invalid_id_sidUpdate the demographic data with an invalid ID452
Prereg_UpdatePrereg_missing_Version_sidUpdate the demographic data with a missing version number431
Prereg_UpdatePrereg_missing_id_sidUpdate the demographic data with a missing ID459
Prereg_UpdatePrereg_missing_langCode_sidUpdate the demographic data with an missing language code627
Prereg_UpdatePrereg_previous_date_sidUpdate the demographic data with a past date442
Prereg_UpdatePrereg_update_date_without_Status_change_sidUpdate the demographic data for date of birth without changing the status834
GetApplicationWithPrId — Passed
Prereg_GetApplicationWithPrId_inValid_preRegistrationIdRetrieve application with an invalid pre-registration ID (PRID)450
FetchApplicationByPrid — Passed
Prereg_FetchApplicationByPrid_All_Valid_Smoke_sidFetch demographic details using a valid PRID587
Prereg_FetchApplicationByPrid_inValid_preRegistrationId_sidFetch demographic details using an invalid PRID419
GetApplicationStatusWithPrId — Passed
Prereg_GetApplicationStatusWithPrId_All_Valid_Smoke_sidRetrieve the application status using a valid PRID444
Prereg_GetApplicationStatusWithPrId_Blank_PRID_sidRetrieve the application status using an blank PRID417
Prereg_GetApplicationStatusWithPrId_inValid_PRID_sidRetrieve the application status using an invalid PRID414
Uploaddocument — Passed
Prereg_UploadDocument_All_Valid_Smoke_BookByPRID_sidUpload the valid document to book an appointment using PRID992
Prereg_UploadDocument_All_Valid_Smoke_POB_BookByPRID_sidUpload the valid Proof of Date of Birth (POB) document to book an appointment using PRID701
Prereg_UploadDocument_All_Valid_Smoke_POB_UpdateDocRefID_sidUpload the valid Proof of Date of Birth (POB) document with the updated reference ID704
Prereg_UploadDocument_All_Valid_Smoke_POB_cancell_pending_appoinment_prid_sidUpload the Proof of date of Birth (POB) document to cancel a pending appointment with PRID758
Prereg_UploadDocument_All_Valid_Smoke_POB_expired_sidUpload the Proof of Date of Birth (POB) document with an expired ID816
Prereg_UploadDocument_All_Valid_Smoke_POB_sidUpload the valid Proof of Date of Birth (POB) document572
Prereg_UploadDocument_All_Valid_Smoke_POI_BookByPRID_sidUpload the valid Proof of Identity (POI) document to book an appointment using PRID834
Prereg_UploadDocument_All_Valid_Smoke_POI_UpdateDocRefID_sidUpload the valid Proof of Identity (POI) document with the updated reference ID871
Prereg_UploadDocument_All_Valid_Smoke_POI_cancell_pending_appoinment_prid_sidUpload the Proof of Identity (POI) document to cancel a pending appointment with PRID912
Prereg_UploadDocument_All_Valid_Smoke_POI_expired_sidUpload the Proof of Identity (POI) document with an expired ID4433
Prereg_UploadDocument_All_Valid_Smoke_POI_sidUpload the valid Proof of Identity (POI) document842
Prereg_UploadDocument_All_Valid_Smoke_POR_BookByPRID_sidUpload the valid Proof of Residence (POR) document to book an appointment using PRID685
Prereg_UploadDocument_All_Valid_Smoke_POR_UpdateDocRefID_sidUpload the valid Proof of Residence (POR) document with the updated reference ID701
Prereg_UploadDocument_All_Valid_Smoke_POR_cancell_pending_appoinment_prid_sidUpload the Proof of Residence (POR) document to cancel a pending appointment with PRID1218
Prereg_UploadDocument_All_Valid_Smoke_POR_expired_sidUpload the Proof of Residence (POR) document with an expired ID708
Prereg_UploadDocument_All_Valid_Smoke_POR_sidUpload the valid Proof of Residence (POR) document656
Prereg_UploadDocument_All_Valid_Smoke_UpdateDocRefID_sidupload the valid document with the updated document reference ID1080
Prereg_UploadDocument_All_Valid_Smoke_cancell_pending_appoinment_pridUpload the Proof of Address (POA) document to cancel a pending appointment with PRID1029
Prereg_UploadDocument_All_Valid_Smoke_expiry_sidUpload the Proof of Address (POA) document with an expired ID936
Prereg_UploadDocument_All_Valid_Smoke_sidUpload the valid document preregistration ID1732
Prereg_UploadDocument_Blank_id_sidUpload the Proof of Address (POA) document with a blank ID732
Prereg_UploadDocument_Invalid_doccatCode_sidUpload the Proof of Address (POA) document with the invalid document category code755
Prereg_UploadDocument_Invalid_langCode_sidUpload the Proof of Address (POA) document with the invalid language code720
Prereg_UploadDocument_Rebook_the_booked_appoinment_Smoke_sidUpload the document to rebook the booked appointment916
Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_POB_sidUpload the valid Proof of Date of Birth (POB) document to cancel the application appointment646
Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_POI_sidUpload the valid Proof of Identity (POI) document to cancel the application appointment1402
Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_POR_sidUpload the valid Proof of Residence (POR) document to cancel the application appointment748
Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_sidUpload the valid Proof of Address (POA) document to cancel the application appointment1191
Prereg_UploadDocument_Smoke_POB_alldel_sidUpload the Proof of Date of Birth (POB) document for deletion670
Prereg_UploadDocument_Smoke_POI_alldel_sidUpload the Proof of Identity (POI) document for deletion783
Prereg_UploadDocument_Smoke_POR_alldel_sidUpload the Proof of Residence (POR) document for deletion786
Prereg_UploadDocument_Smoke_alldel_sidUpload the Proof of Address (POA) document for deletion924
Prereg_UploadDocument_Smoke_cancellappointment_POB_sidUpload the valid Proof of Date of Birth (POB) document to cancel the appointment617
Prereg_UploadDocument_Smoke_cancellappointment_POI_sidUpload the valid Proof of Address (POI) document to cancelling the appointment820
Prereg_UploadDocument_Smoke_cancellappointment_POR_sidUpload the valid Proof of Residence (POR) document to cancel the appointment768
Prereg_UploadDocument_Smoke_cancellappointment_sidUpload the valid Proof of Address (POA) document to cancelling the appointment919
Prereg_UploadDocument_Valid_POB_Smoke_sidUpload the valid Proof of Date of Birth (POB) document693
Prereg_UploadDocument_Valid_POR_Smoke_sidUpload the valid Proof of Residence (POR) document660
Prereg_UploadDocument_Valid_Smoke_POI_sidUpload the valid Proof of Identity (POI) document816
Prereg_UploadDocument_Valid_Smoke_sidUpload the valid Proof of Address (POA) document1535
Prereg_UploadDocument_blank_docTypCode_sidUpload the blank Proof of Address (POA) document type code837
Prereg_UploadDocument_blank_doccatCode_sidUpload the Proof of Address (POA) document blank the document category code742
Prereg_UploadDocument_inValid_docTypCode_sidUpload the invalid Proof of Address (POA) document type code773
Prereg_UploadDocument_inValid_id_sidUpload the Proof of Address (POA) document with an invalid ID708
Prereg_UploadDocument_missing_docTypCode_sidUpload the Proof of Address (POA) document without the document type code805
Prereg_UploadDocument_missing_doccatCode_sidUpload the Proof of Address (POA) document without the document category code754
Prereg_UploadDocument_missing_langCode_sidUpload the Proof of Address (POA) document with the missing document category code780
UpdateDocRefID — Passed
Prereg_UpdateDocRefID_All_SpatialCharacter_RefNum_NegUpdate the document reference ID with the special character and reference number439
Prereg_UpdateDocRefID_All_Valid_Smoke_POA_sidUpdate the document reference ID for the valid Proof of Address (POA)493
Prereg_UpdateDocRefID_All_Valid_Smoke_POB_sidUpdate the document reference ID for the valid Proof of Date of Birth (POB)425
Prereg_UpdateDocRefID_All_Valid_Smoke_POI_sidUpdate the document reference ID for the valid Proof of Identity (POI)467
Prereg_UpdateDocRefID_All_Valid_Smoke_POR_sidUpdate the document reference ID for the valid Proof of Residence (POR)469
Prereg_UpdateDocRefID_Exceeding_Limit_RefNum_NegUpdate the document reference ID with an exceeding limit and reference number445
Prereg_UpdateDocRefID_inValid_documentIdUpdate the document reference ID for the invalid document ID432
CopyDocument — Passed
Prereg_CopyDocument_All_Valid_Smoke_sidCopy the valid Proof of Address (POA) document1039
Prereg_CopyDocument_Invalid_preRegistrationId_sidCopy the Proof of Address (POA) document with the invalid preregistration ID465
Prereg_CopyDocument_blank_doc_cat_code_sidCopy the blank document and categorize it with the code439
Prereg_CopyDocument_in_Valid_doc_cat_code_sidCopy the Proof of Address (POA) document with the invalid document category code442
UpdatePreRegStatus — Passed
Prereg_UpdatePreRegStatus_All_Valid_Smoke_BookByPRID_sidUpdate the status for a valid booking using the PRID (Preregistration ID)625
Prereg_UpdatePreRegStatus_All_Valid_Smoke_sidUpdate the status of an application to 'Pending Appointment' using the prereg ID and status code698
Prereg_UpdatePreRegStatus_CA_Valid_Smoke_sidUpdate the status of an application to'Pending Appointment'for canceling using the prereg ID and status code660
Prereg_UpdatePreRegStatus_Smoke_CancelApplicationsAppointment_sidUpdate the status of an application to'cancell application Appointment'using the prereg ID and status code764
Prereg_UpdatePreRegStatus_Smoke_CancellAppointment_sidUpdate the status of an application to 'cancell Appointment' using the preregistration ID and status code719
Prereg_UpdatePreRegStatus_Smoke_alldel_sidUpdate the status of an application to 'pending Appointment' for deleted the prereg ID and status code768
Prereg_UpdatePreRegStatus_Valid_Smoke_sidUpdate the application status to 'Pending Appointment' using the prereg ID and status code649
Prereg_UpdatePreRegStatus_for_expired_testcase_sidUpdate the status of the expired test case application using the prereg ID and status code635
Prereg_UpdatePreRegStatus_without_update_prereg_status_sidUpdate the application status without modifying the preregistration status865
GetAllDocForPrId — Passed
Prereg_GetAllDocForPrId_All_Valid_Smoke_sidRetrieve all documents associated with the valid Pre-Registration ID638
Prereg_GetAllDocForPrId_inValid_preRegistrationId_sidRetrieve all documents associated with the invalid Pre-Registration ID469
GetSpecificDocumentforaPRID — Passed
Prereg_GetSpecificDocumentforaPRID_All_Valid_Smoke_sidRetrieve the specific document with a valid preregistration ID1413
Prereg_GetSpecificDocumentforaPRID_inValid_documentId_sidRetrieve the specific document with an invalid document ID663
Prereg_GetSpecificDocumentforaPRID_inValid_preRegistrationId_sidRetrieve the specific document with an invalid preregistration ID592
GetPRIDByDateRange — Failed
Prereg_GetPRIDByDateRange_All_Valid_Smoke_sidRetrieve the PRID within the given date range940
GetPRIDByDateRange — Passed
Prereg_GetPRIDByDateRange_Invalid_fromDateRetrieve the PRID within the specified date range where the fromDate is missing467
Prereg_GetPRIDByDateRange_Invalid_registrationCenterIdRetrieve the PRID within the specified date range for the invalid registration center ID515
Prereg_GetPRIDByDateRange_Invalid_requesttimeRetrieve the PRID within the specified date range for the invalid request time413
Prereg_GetPRIDByDateRange_Invalid_toDateRetrieve the PRID within the specified date range where the 'toDate' field is invalid510
Prereg_GetPRIDByDateRange_blank_fromDateRetrieve the PRID within the specified date range where the fromDate field is blank451
Prereg_GetPRIDByDateRange_blank_idRetrieve the PRID within the specified date range for the blank ID451
Prereg_GetPRIDByDateRange_blank_registrationCenterIdRetrieve the PRID within the specified date range for the blank registration center ID439
Prereg_GetPRIDByDateRange_blank_requesttimeRetrieve the PRID within the specified date range for the request time that is blank508
Prereg_GetPRIDByDateRange_blank_toDateRetrieve the PRID within the specified date range where the toDate field is blank479
Prereg_GetPRIDByDateRange_blank_versionRetrieve the PRID within the specified date range for the blank version457
Prereg_GetPRIDByDateRange_inValid_idRetrieve the PRID within the specified date range for the Invalid ID444
Prereg_GetPRIDByDateRange_invalid_versionRetrieve the PRID within the specified date range for the invalid version452
Prereg_GetPRIDByDateRange_missing_fromDateRetrieve the PRID within the specified date range where the fromDate is missing457
Prereg_GetPRIDByDateRange_missing_idRetrieve the PRID within the specified date range for the missing ID443
Prereg_GetPRIDByDateRange_missing_registrationCenterIdRetrieve the PRID within the specified date range for the missing registration center ID442
Prereg_GetPRIDByDateRange_missing_requesttimeRetrieve the PRID within the specified date range for the missing request time473
Prereg_GetPRIDByDateRange_missing_toDateRetrieve the PRID within the specified date range where the toDate field is missing470
Prereg_GetPRIDByDateRange_missing_versionRetrieve the PRID within the specified date range for the missing version446
BookAppointment — Passed
Prereg_BookAppointment_All_Valid_SmokeBook an appoinment valid data3767
Prereg_BookAppointment_Blank_IdBook an appointment with a blank ID2264
Prereg_BookAppointment_Blank_appointment_dateBook an appointment with a blank appointment date2191
Prereg_BookAppointment_Blank_registration_center_idBook an appointment with a blank registration center ID2205
Prereg_BookAppointment_Blank_requesttimeBook an appointment with a Blank request time2125
Prereg_BookAppointment_Blank_time_slot_fromBook an appointment with an blank time slot2208
Prereg_BookAppointment_Blank_time_slot_toBook an appointment with an Blank time slot form2259
Prereg_BookAppointment_Blank_versionBook an appointment with a blank version2272
Prereg_BookAppointment_CA_SmokeBook an appointment to cancel the existing appointment2605
Prereg_BookAppointment_CancelApplicationsAppointment_SmokeBook an appointment to cancel applications the existing appointment2776
Prereg_BookAppointment_Invalid_IdBook an appointment with a invalid preregistration ID2293
Prereg_BookAppointment_Invalid_appointment_dateBook an appointment with a invalid appointment date2155
Prereg_BookAppointment_Invalid_registration_center_idBook an appointment with an invalid registration center ID2223
Prereg_BookAppointment_Invalid_requesttimeBook an appointment with a invalid request time2097
Prereg_BookAppointment_Invalid_time_slot_fromBook an appointment with an invalid time slot from2277
Prereg_BookAppointment_Invalid_time_slot_toBook an appointment with an invalid time slot2279
Prereg_BookAppointment_Invalid_versionBook an appointment with a invalid version2162
Prereg_BookAppointment_Missing_appointment_dateBook an appointment with a missing appointment date2429
Prereg_BookAppointment_Missing_registration_center_idBook an appointment with a missing registration center ID2217
Prereg_BookAppointment_Missing_time_slot_toBook an appointment with a missing time slot2236
Prereg_BookAppointment_Missing_versionBook an appointment with a missing version2176
Prereg_BookAppointment_On_holidayBook an appointment on a holiday2579
Prereg_BookAppointment_blank_preRegistrationIdBook an appointment with a blank preregistration ID2138
Prereg_BookAppointment_inValid_preRegistrationIdBook an appointment with an invalid preregistration ID2242
Prereg_BookAppointment_missing_requesttimeBook an appointment with a missing request time2142
Prereg_BookAppointment_missing_time_slot_fromBook an appointment with an missing time slot from2227
Prereg_BookAppointment_previous_dateBook an appointment with a previous date2148
Prereg_BookAppointment_with_All_InValid_dataBook an appointment with an invalid data2212
Prereg_BookAppointment_with_expired_statusBook an appointment with an expired status2167
FetchAppointmentDetailsByPrid — Passed
Prereg_FetchAppointmentDetailsByPrid_All_Valid_Smoke_sidFetch appointment details for the preregistration ID468
Prereg_FetchAppointmentDetailsByPrid_inValid_preRegistrationId_sidFetch appointment details for the invalid preregistration ID466
BookAppointmentByPRID — Passed
Prereg_BookAppointmentByPRID_All_Valid_SmokeBook an appointment with a PRID for validation2810
Prereg_BookAppointmentByPRID_Blank_IdBook an appointment with a PRID for a blank ID2131
Prereg_BookAppointmentByPRID_Blank_appointment_dateBook an appointment with a PRID for an Blank appointment date2204
Prereg_BookAppointmentByPRID_Blank_registration_center_idBook an appointment with a PRID for an Blank registration center ID2304
Prereg_BookAppointmentByPRID_Blank_requesttimeBook an appointment with a PRID for a Blank request time2259
Prereg_BookAppointmentByPRID_Blank_versionBook an appointment with a PRID for a blank version2179
Prereg_BookAppointmentByPRID_Invalid_appointment_dateBook an appointment with a PRID for an invalid appointment date2144
Prereg_BookAppointmentByPRID_Invalid_registration_center_idBook an appointment with a PRID for an invalid registration center ID2228
Prereg_BookAppointmentByPRID_Invalid_requesttimeBook an appointment with a PRID for a invalid request time2273
Prereg_BookAppointmentByPRID_Invalid_versionSchedule an appointment with a PRID for a invalid version2115
Prereg_BookAppointmentByPRID_Missing_appointment_dateBook an appointment with a PRID for a missing appointment date2201
Prereg_BookAppointmentByPRID_Missing_registration_center_idBook an appointment with a PRID for an missing registration center ID2265
Prereg_BookAppointmentByPRID_Missing_time_slot_fromBook an appointment with a PRID for an missing time slot from2242
Prereg_BookAppointmentByPRID_Missing_time_slot_toBook an appointment with a PRID for an missing time slot to2364
Prereg_BookAppointmentByPRID_Missing_versionBook an appointment with a PRID for a missing version2114
Prereg_BookAppointmentByPRID_blank_preRegistrationIdBook an appointment with a PRID for a blank preregistration ID2266
Prereg_BookAppointmentByPRID_blank_time_slot_fromBook an appointment with a PRID for an Blank time slot from2226
Prereg_BookAppointmentByPRID_blank_time_slot_toBook an appointment with a PRID for an Blank time slot to2178
Prereg_BookAppointmentByPRID_inValid_IdBook an appointment with a PRID for a invalid preregistration ID2091
Prereg_BookAppointmentByPRID_inValid_preRegistrationIdBook an appointment with a PRID for an invalid preregistration ID2199
Prereg_BookAppointmentByPRID_missing_preRegistrationIdBook an appointment with a PRID for a missing preregistration ID2165
Prereg_BookAppointmentByPRID_missing_requesttimeBook an appointment with a PRID for a missing request time2144
Prereg_BookAppointmentByPRID_previous_requesttimeBook an appointment with a PRID for a previous request time2152
GetAppointmentDetails — Failed
Prereg_GetAppointmentDetails_empty_space_preRegistrationIdRetrieve appointment details for an empty space preregistration ID431
GetAppointmentDetails — Passed
Prereg_GetAppointmentDetails_AllValid_Smoke_sidRetrieve appointment details for a valid preregistrationID444
Prereg_GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sidRetrieve appointment details booked by a valid PRID1049
Prereg_GetAppointmentDetails_inValid_preRegistrationIdRetrieve appointment details for a invalid preregistrationID412
Prereg_GetAppointmentDetails_with_cancelled_appoinmentRetrieve appointment details for a cancelled appointment447
CancelAppointment — Passed
Prereg_CancelAppointment_All_Valid_Smoke_sidCancel appointment for a valid preregistration ID479
Prereg_CancelAppointment_cancell_incomplete_appoinmentCanceling an appointment with an incomplete appointment data486
Prereg_CancelAppointment_inValid_preRegistrationId_sidCanceling an appointment with an invalid preregistration ID503
Prereg_CancelAppointment_with_already_cancelled_appoinmentCanceling an appointment that has already been cancelled481
CancelApplicationsAppointment — Passed
Prereg_CancelApplicationsAppointment_All_Valid_Smoke_sidCanceling appointment for a valid preregistration ID562
Prereg_CancelApplicationsAppointment_inValid_preRegistrationId_sidCanceling appointment for an invalid preregistration ID459
GetAvailableSlotForRegCentreId — Passed
Prereg_GetAvailableSlotForRegCentreId_All_Valid_Smoke_sidRetrieve available slots for a valid registration center ID647
Prereg_GetAvailableSlotForRegCentreId_Valid_Smoke_sidRetrieve available slots for a valid registration center ID623
Prereg_GetAvailableSlotForRegCentreId_inValid_registrationCenterId_sidRetrieve available slots for an invalid registration center ID439
GetBookingsForRegCenter — Failed
Prereg_GetBookingsForRegCenter_All_Valid_Smoke_sidRetrieve booking for a valid registration center ID442
Prereg_GetBookingsForRegCenter_with_InValid_date_formatRetrieve booking for a registration center with an invalid date format433
Prereg_GetBookingsForRegCenter_with_InValid_regcenterRetrieve booking for a registration center with an invalid registration center ID411
Prereg_GetBookingsForRegCenter_with_InValid_regcenter_invalidDateRetrieve booking for a registration center with an invalid registration center ID and an invalid date470
GetPRIDForRegCent — Passed
Prereg_GetPRIDForRegCent_All_Valid_Smoke_sidRetrieve PRID for a valid registration center ID451
Prereg_GetPRIDForRegCent_inValid_registrationCenterId_sidRetrieve PRID for an invalid registration center ID429
SendNotifications — Failed
Prereg_SendNotifications_InValid_idTrigger notification with an invalid ID447
Prereg_SendNotifications_InValid_preRegIdTrigger notification with an invalid pre-registration ID445
SendNotifications — Passed
Prereg_SendNotifications_All_Valid_SmokeTrigger notification with valid data444
Prereg_SendNotifications_Notify_All_Valid_SmokeTrigger notification to notify with valid data463
DeleteSpecificDocForaPRID — Passed
Prereg_DeletePreRegistration_inValid_documentId_sidDelete preregistration with an invalid document ID791
Prereg_DeletePreRegistration_inValid_preRegistrationId_sidDelete preregistration with an invalid PRID455
Prereg_DeleteSpecificDocForaPRID_All_Valid_Smoke_sidDelete specific document for a valid PRID801
DeleteAllDocForaPRID — Passed
Prereg_DeletePreRegistration_All_Valid_Smoke_sidDelete preregistration with all valid preregistration ID775
Prereg_DeletePreRegistration_InValid_preRegistrationId_sidDelete preregistration with an invalid preregisteration ID470
DeleteBooking — Passed
Prereg_DeleteBooking_All_Valid_Smoke_sidDelete bookings for all valid preregistration ID540
InvalidateToken — Passed
Prereg_InvalidateToken_All_Valid_Smoke_sidInvalidate token using valid data435
Transliteration — Passed
Prereg_Transliteration_All_Valid_Smoke_sidRetrieve the preregistration data using valid transliteration456
Prereg_Transliteration_inValid_fromfieldlangRetrieve the Transliteration data for an invalid 'to-field' language449
Prereg_Transliteration_inValid_tofieldlangRetrieve the transliteration data for an invalid to-field language416
GetAllApplications — Failed
Prereg_GetAllApplications_InValidRetrieve all applications with invalid data3092
GetAllApplications — Passed
Prereg_GetAllApplications_All_Valid_Smoke_sidRetrieve all applications with valid data1155
Prereg_GetAllApplications_InValid_TypeRetrieve all applications with an invalid type430
Prereg_GetAllApplications_Valid_Type_Smoke_sidRetrieve all applications with a valid type774
GetAllApplicationsWithapplicationId — Passed
Prereg_GetAllApplicationsWithapplicationId_All_Valid_Smoke_sidRetrieve all applications with the application ID426
Prereg_GetAllApplicationsWithapplicationId_with_expiredRetrieve all applications with the expired application ID445
Prereg_GetAllApplicationsWithapplicationId_with_invalid_applicationIdRetrieve all applications with an invalid application ID439
GetUpdatedDateTimeByPrid — Passed
Prereg_GetUpdatedDateTimeByPrid_All_Valid_Smoke_sidRetrieve all applications with the application ID using valid data426
Prereg_GetUpdatedDateTimeByPrid_InValid_IDRetrieve all applications with the application ID using invalid ID446
AddUpdateRegistration — Passed
Prereg_AddUpdateRegistration_All_Valid_Smoke_sidadd an update to the registration with valid data4040
Prereg_AddUpdateRegistration_inValid_langcodeadd an update to the registration with an invalid data566
AddLostUinApplication — Passed
Prereg_AddLostUinApplication_All_Valid_Smoke_sidprocess the lost UIN application with a valid ID3457
Prereg_AddLostUinApplication_Invalid_idprocess the lost UIN application with an invalid ID2909
Prereg_AddLostUinApplication_Valid_Smoke_sidProcess the lost UIN application with a valid data3163
Prereg_AddLostUinApplication_inValid_langcodeProcess the lost UIN application with an invalid language code471
Prereg_AddLostUinApplication_invalid_lang_codeProcess the lost UIN application with an invalid language code466
Prereg_AddLostUinApplication_with_INVALID_versionProcess the lost UIN application with an invalid version2674
Prereg_AddLostUinApplication_without_any_dataProcess the lost UIN application with no data provided480
Prereg_AddLostUinApplication_without_versionProcess the lost UIN application without specifying the version3220
Prereg_AddLostUinApplication_without_version_attributeProcess the lost UIN application without specifying the version and attribute3205
DeleteLostUinApplication — Passed
Prereg_DeleteLostUinApplication_All_Valid_Smoke_sidDelete the lost UIN application with valid data774
Prereg_DeleteLostUinApplication_after_its_deletionDelete the lost UIN application after it has been removed479
Prereg_DeleteLostUinApplication_inValid_preRegistrationId_sidDelete the lost UIN application with an invalid preregistration ID461
Prereg_DeleteLostUinApplication_multiple_application_sidDelete the lost UIN application with multiple preregistration IDs for the application822
Prereg_DeleteLostUinApplication_random_number_sidDelete the lost UIN application with a random number preregistration ID473
DeletePreRegistration — Passed
Prereg_DeletePreRegistration_All_Valid_Smoke_sidDelete the preregistration with a valid preregistration ID934
Prereg_DeletePreRegistration_inValid_preRegistrationId_sidDelete the preregistration with an invalid preregistration ID473
GetPreRegInfo — Passed
Prereg_GetPreRegInfoByPrid_Valid_preRegistrationIdRetrieve preregistration information using the preReg Id with a valid preRegistrationId826
Prereg_GetPreRegInfoByPrid_inValid_preRegistrationIdRetrieve preregistration information using the preReg Id with an invalid preRegistrationId507
GetAllPreRegApplications — Passed
Prereg_GetAllPreRegApplications_All_Valid_Smoke_sidRetrieve all preregistered applications with a valid preregistration ID1235
Prereg_GetAllPreRegApplications_DELETE_UIN_APPLICATION_sidRetrieve all preregistered applications with a prereg ID associated with a deleted UIN application1293
Prereg_GetAllPreRegApplications_LOST_UIN_APPLICATION_sidRetrieve all preregistered applications with a prereg ID associated with the lost UIN application1225
SendOtp — Passed
Prereg_SendOtp_All_Valid_Smoke_Phone_sid662
Prereg_SendOtp_All_Valid_Smoke_email_sid591
Prereg_SendOtp_Invalid_Phone_NegSend OTP by providing an invalid phone number on the phone channel side535
Prereg_SendOtp_Invalid__email_NegSend OTP using an invalid email address via the email channel466
Prereg_SendOtp_MISSING_Phone_NegSent OTP without a phone number534
Prereg_SendOtp_Missing_email_NegSent OTP without an email address via the email channel452
Prereg_SendOtp_SpacialCharacter_Val_Phone_NegSent OTP with special characters through the phone channel578
Prereg_SendOtp_SpacialCharacter_email_NegSent OTP with special characters through the email channel512
ValidateOtp — Passed
Prereg_ValidateOtp_All_Valid_Smoke_Phone_sidValidating OTP with an invalid phone number465
Prereg_ValidateOtp_All_Valid_Smoke_email_sidValidating OTP with a valid phone number463
Prereg_ValidateOtp_Invalid_Email_Neg_INVALIDOTPValidating OTP with an invalid email address445
Prereg_ValidateOtp_Invalid_Phone_Neg_INVALIDOTPValidating OTP with a phone number containing special characters608
Prereg_ValidateOtp_SpacialCharacters_Email_Neg_INVALIDOTPValidating OTP with an email address containing special characters462
Prereg_ValidateOtp_SpacialCharacters_Phone_Neg_INVALIDOTPvalidating OPT with valid email address453

CreatePreregistration

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_All_Valid_Smoke_BookByPRID_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_All_Valid_Smoke_BookByPRID_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ "langCode": "$1STLANG$" }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration for a valid booking using the PRID (Patient Registration ID)
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "9876543210", "mobileno": "9876543210", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with a valid updated document reference ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_All_Valid_Smoke_date_verification_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_All_Valid_Smoke_date_verification_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with an invalid OTP
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_All_Valid_Smoke_for_expiry_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_All_Valid_Smoke_for_expiry_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration, booking an appointment, and checking the expiration status if the user does not reach the center by the scheduled slot time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating demographic details with valid data
Messages
Response:

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_Invalid_OTP_Neg_StatusCode

Testcase Input
testCaseName=Prereg_CreatePrereg_Invalid_OTP_Neg_StatusCode, endPoint=/preregistration/v1/applications/prereg, role=invalidBatch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output=500, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with an invalid OTP
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
status 500 500 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_Invalid_PostalCode_Neg

Testcase Input
testCaseName=Prereg_CreatePrereg_Invalid_PostalCode_Neg, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "KER-IOV-004" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with an invalid postal code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode KER-IOV-004 KER-IOV-004 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_Smoke_CancelApplicationsAppointment_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_Smoke_CancelApplicationsAppointment_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration and cancelling the appointment after booking
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_Smoke_CancellAppointment_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_Smoke_CancellAppointment_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration data to cancel a booked appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_Smoke_alldel_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_Smoke_alldel_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration to delete data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_SpacialCharacter_PostalCode_Neg

Testcase Input
testCaseName=Prereg_CreatePrereg_SpacialCharacter_PostalCode_Neg, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "$34!", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "KER-IOV-004" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with a special character in the postal code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode KER-IOV-004 KER-IOV-004 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating demographic details with valid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_blank_id_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_blank_id_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with a blank ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_book_appoinment_without_update_prereg_status_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_book_appoinment_without_update_prereg_status_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration for booking an appointment without updating preregistration status
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_cancell_incomplete_prid_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_cancell_incomplete_prid_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration and canceling the incomplete PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_cancell_pending_appoinment_prid_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_cancell_pending_appoinment_prid_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration and canceling pending appointment using PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_in_Valid_id_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_in_Valid_id_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.prtion.demographic.create" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating demographic details with an invalid field ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_invalid_email_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_invalid_email_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "so.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "KER-IOV-004" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with an invalid email address
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode KER-IOV-004 KER-IOV-004 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_invalid_langCode_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_invalid_langCode_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$363738$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_014" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with an invalid langcode
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_014 PRG_CORE_REQ_014 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_invalid_requesttime_format_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_invalid_requesttime_format_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$2233STAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_015" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with an invalid request-time format
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_015 PRG_CORE_REQ_015 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_invalid_version_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_invalid_version_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "13YU2U2", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with an invalid version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_missing_id_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_missing_id_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "$REMOVE$" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with a missing ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_missing_langCode_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_missing_langCode_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$REMOVE$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_014" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating preregistration without specifying a langcode
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_014 PRG_CORE_REQ_014 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_missing_requesttime_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_missing_requesttime_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$REMOVE$", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_003" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating preregistration without specifying a request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_003 PRG_CORE_REQ_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_missing_version_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_missing_version_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "$REMOVE$", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating preregistration without specifying a version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_previous_date_sid

Testcase Input
testCaseName=Prereg_CreatePrereg_previous_date_sid, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "mobileno": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "2019-08-23T05:28:27.570Z", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_013" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with a previous date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_013 PRG_CORE_REQ_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_with_future_date

Testcase Input
testCaseName=Prereg_CreatePrereg_with_future_date, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/createPrereg/createPreregResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with a future date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.CreatePreReg#Prereg_CreatePrereg_with_special_characters_date

Testcase Input
testCaseName=Prereg_CreatePrereg_with_special_characters_date, endPoint=/preregistration/v1/applications/prereg, role=batch, templateFields=null, input={ "postalCode": "14022", "phone": "8249742850", "email": "goku@technoforte.co.in", "IDSchemaVersion": $SCHEMAVERSION$, "dateOfBirth": "19@@@@9$$6/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.create" }, output={ "errors": [ { "errorCode": "KER-IOV-004" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Creating preregistration with special characters on the date filed
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode KER-IOV-004 KER-IOV-004 PASS

back to summary

UpdatePreregistration

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_All_Valid_Smoke_BookByPRID_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_All_Valid_Smoke_BookByPRID_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.update" }, output={ "langCode": "$1STLANG$" }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/UpdatePreregistration/updatePreregistrationResult, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data for booking an appointment with the new PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.statusCode Application_Incomplete Application_Incomplete PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.update" }, output={ "langCode": "$1STLANG$" }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/UpdatePreregistration/updatePreregistrationResult, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update demographic data for a new preregistration application
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.statusCode Application_Incomplete Application_Incomplete PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_INVALID_langCode_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_INVALID_langCode_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "soh#w@Scdfvg", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$2736EBDEB$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.update" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_014" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with an invalid language code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_014 PRG_CORE_REQ_014 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_INVALID_requesttime_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_INVALID_requesttime_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "soh#w@Scdfvg", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$47738$", "id": "mosip.pre-registration.demographic.update" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_015" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with an invalid request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_015 PRG_CORE_REQ_015 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_Missing_requesttime_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_Missing_requesttime_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "soh#w@Scdfvg", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$REMOVE$", "id": "mosip.pre-registration.demographic.update" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_003" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data without a request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_003 PRG_CORE_REQ_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_blank_id_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_blank_id_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with a blank ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_inValid_dateOfBirth_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_inValid_dateOfBirth_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": 0.7, "dateOfBirth": "272838SHSH", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.update" }, output={ "errors": [ { "errorCode": "KER-IOV-004" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with an invalid date of birth
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode KER-IOV-004 KER-IOV-004 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_invalid_Version_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_invalid_Version_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "2728SHBSHSH", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.update" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with an invalid version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_invalid_email_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_invalid_email_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "soh#w@Scdfvg", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.update" }, output={ "errors": [ { "errorCode": "KER-IOV-004" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with an invalid email address
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode KER-IOV-004 KER-IOV-004 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_invalid_id_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_invalid_id_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre43DD4@GGGgistration.demographic.update" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with an invalid ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_missing_Version_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_missing_Version_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "goku@thogwarts.co.in", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "$REMOVE$", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.update" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with a missing version number
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_missing_id_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_missing_id_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "$REMOVE$" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with a missing ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_missing_langCode_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_missing_langCode_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "soh#w@Scdfvg", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$REMOVE$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.update" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_014" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with an missing language code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_014 PRG_CORE_REQ_014 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_previous_date_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_previous_date_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": 0.7, "dateOfBirth": "1996/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "2018-02-10T07:28:57.314Z", "id": "mosip.pre-registration.demographic.update" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_013" } ] }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data with a past date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_013 PRG_CORE_REQ_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.UpdatePrereg#Prereg_UpdatePrereg_update_date_without_Status_change_sid

Testcase Input
testCaseName=Prereg_UpdatePrereg_update_date_without_Status_change_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_date_verification_sid_preRegistrationId$", "postalCode": "14022", "phone": "8249742850", "email": "goku@hogwarts.co.in", "IDSchemaVersion": 0.7, "dateOfBirth": "1998/01/01", "version": "1.0", "langCode": "$1STLANG$", "requesttime": "$TIMESTAMP$", "id": "mosip.pre-registration.demographic.update" }, output={ "langCode": "$1STLANG$" }, inputTemplate={"request":{"requiredFields":["IDSchemaVersion","fullName","dateOfBirth","gender","addressLine1","addressLine2","addressLine3","region","province","city","zone","postalCode","phone","email","residenceStatus"],"demographicDetails":{"identity":{"gender":[{"language":"eng","value":"TEST_gender"},{"language":"ara","value":"TEST_gender"},{"language":"fra","value":"TEST_gender"},{"language":"kan","value":"TEST_gender"},{"language":"hin","value":"TEST_gender"},{"language":"tam","value":"TEST_gender"}],"city":[{"language":"eng","value":"TEST_city"},{"language":"ara","value":"TEST_city"},{"language":"fra","value":"TEST_city"},{"language":"kan","value":"TEST_city"},{"language":"hin","value":"TEST_city"},{"language":"tam","value":"TEST_city"}],"postalCode":"{{postalCode}}","fullName":[{"language":"eng","value":"TEST_fullName"},{"language":"ara","value":"TEST_fullName"},{"language":"fra","value":"TEST_fullName"},{"language":"kan","value":"TEST_fullName"},{"language":"hin","value":"TEST_fullName"},{"language":"tam","value":"TEST_fullName"}],"dateOfBirth":"{{dateOfBirth}}","IDSchemaVersion":0.1,"province":[{"language":"eng","value":"TEST_province"},{"language":"ara","value":"TEST_province"},{"language":"fra","value":"TEST_province"},{"language":"kan","value":"TEST_province"},{"language":"hin","value":"TEST_province"},{"language":"tam","value":"TEST_province"}],"zone":[{"language":"eng","value":"TEST_zone"},{"language":"ara","value":"TEST_zone"},{"language":"fra","value":"TEST_zone"},{"language":"kan","value":"TEST_zone"},{"language":"hin","value":"TEST_zone"},{"language":"tam","value":"TEST_zone"}],"phone":"{{phone}}","addressLine1":[{"language":"eng","value":"TEST_addressLine1"},{"language":"ara","value":"TEST_addressLine1"},{"language":"fra","value":"TEST_addressLine1"},{"language":"kan","value":"TEST_addressLine1"},{"language":"hin","value":"TEST_addressLine1"},{"language":"tam","value":"TEST_addressLine1"}],"addressLine2":[{"language":"eng","value":"TEST_addressLine2"},{"language":"ara","value":"TEST_addressLine2"},{"language":"fra","value":"TEST_addressLine2"},{"language":"kan","value":"TEST_addressLine2"},{"language":"hin","value":"TEST_addressLine2"},{"language":"tam","value":"TEST_addressLine2"}],"residenceStatus":[{"language":"eng","value":"TEST_residenceStatus"},{"language":"ara","value":"TEST_residenceStatus"},{"language":"fra","value":"TEST_residenceStatus"},{"language":"kan","value":"TEST_residenceStatus"},{"language":"hin","value":"TEST_residenceStatus"},{"language":"tam","value":"TEST_residenceStatus"}],"addressLine3":[{"language":"eng","value":"TEST_addressLine3"},{"language":"ara","value":"TEST_addressLine3"},{"language":"fra","value":"TEST_addressLine3"},{"language":"kan","value":"TEST_addressLine3"},{"language":"hin","value":"TEST_addressLine3"},{"language":"tam","value":"TEST_addressLine3"}],"region":[{"language":"eng","value":"TEST_region"},{"language":"ara","value":"TEST_region"},{"language":"fra","value":"TEST_region"},{"language":"kan","value":"TEST_region"},{"language":"hin","value":"TEST_region"},{"language":"tam","value":"TEST_region"}],"email":"{{email}}"}},"langCode":"{{langCode}}"},"requesttime":"{{requesttime}}","id":"{{id}}","preRegistrationId":"{{preRegistrationId}}","version":"{{version}}"}, outputTemplate=preReg/UpdatePreregistration/updatePreregistrationResult, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the demographic data for date of birth without changing the status
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.statusCode Application_Incomplete Application_Incomplete PASS

back to summary

GetApplicationWithPrId

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetApplicationWithPrId_inValid_preRegistrationId

Testcase Input
testCaseName=Prereg_GetApplicationWithPrId_inValid_preRegistrationId, endPoint=/preregistration/v1/applications/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "dhsb3772@Dfvgbgh" }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/GetApplicationWithPrId/getApplicationWithPrId, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve application with an invalid pre-registration ID (PRID)
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 PRG_APP_013 PASS

back to summary

FetchApplicationByPrid

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_FetchApplicationByPrid_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_FetchApplicationByPrid_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ "preRegistrationId": "59286406501581" }, inputTemplate=preReg/FetchApplicationByPrid/fetchApplicationByPrid, outputTemplate=preReg/FetchApplicationByPrid/fetchApplicationByPridResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Fetch demographic details using a valid PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.demographicDetails.identity.phone 8249742850 8249742850 PASS
response.demographicDetails.identity.postalCode 14022 14022 PASS
response.demographicDetails.identity.dateOfBirth 1996/01/01 1996/01/01 PASS
response.demographicDetails.identity.email goku@hogwarts.co.in goku@hogwarts.co.in PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_FetchApplicationByPrid_inValid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_FetchApplicationByPrid_inValid_preRegistrationId_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "ggfr3567ugg" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/FetchApplicationByPrid/fetchApplicationByPrid, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Fetch demographic details using an invalid PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

GetApplicationStatusWithPrId

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetApplicationStatusWithPrId_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetApplicationStatusWithPrId_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ "statusCode": "Application_Incomplete" }, inputTemplate=preReg/GetApplicationStatusWithPrId/getApplicationStatusWithPrId, outputTemplate=preReg/GetApplicationStatusWithPrId/getApplicationStatusWithPrIdResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the application status using a valid PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.statusCode Application_Incomplete Application_Incomplete PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetApplicationStatusWithPrId_Blank_PRID_sid

Testcase Input
testCaseName=Prereg_GetApplicationStatusWithPrId_Blank_PRID_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/GetApplicationStatusWithPrId/getApplicationStatusWithPrId, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the application status using an blank PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetApplicationStatusWithPrId_inValid_PRID_sid

Testcase Input
testCaseName=Prereg_GetApplicationStatusWithPrId_inValid_PRID_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "65125923803sass948" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/GetApplicationStatusWithPrId/getApplicationStatusWithPrId, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the application status using an invalid PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

Uploaddocument

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_BookByPRID_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_BookByPRID_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POA.pdf", "docCatCode":"POA", "docTypCode":"RNC", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid document to book an appointment using PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS
response.docName doc_POA.pdf doc_POA.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POB_BookByPRID_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POB_BookByPRID_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POB", "docTypCode" : "COB", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POB.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POB.pdf", "docCatCode":"POB", "docTypCode":"COB", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Date of Birth (POB) document to book an appointment using PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode COB COB PASS
response.docCatCode POB POB PASS
response.docName doc_POB.pdf doc_POB.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POB_UpdateDocRefID_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POB_UpdateDocRefID_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POB", "docTypCode" : "COB", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POB.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POB.pdf", "docCatCode":"POB", "docTypCode":"COB", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Date of Birth (POB) document with the updated reference ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode COB COB PASS
response.docCatCode POB POB PASS
response.docName doc_POB.pdf doc_POB.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POB_cancell_pending_appoinment_prid_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POB_cancell_pending_appoinment_prid_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POB", "docTypCode" : "COB", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_cancell_pending_appoinment_prid_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POB.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POB.pdf", "docCatCode":"POB", "docTypCode":"COB", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of date of Birth (POB) document to cancel a pending appointment with PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode COB COB PASS
response.docCatCode POB POB PASS
response.docName doc_POB.pdf doc_POB.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POB_expired_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POB_expired_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POB", "docTypCode" : "COB", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_for_expiry_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POB.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POB.pdf", "docCatCode":"POB", "docTypCode":"COB", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Date of Birth (POB) document with an expired ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode COB COB PASS
response.docCatCode POB POB PASS
response.docName doc_POB.pdf doc_POB.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POB_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POB_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POB", "docTypCode" : "COB", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POB.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POB.pdf", "docCatCode":"POB", "docTypCode":"COB", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Date of Birth (POB) document
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode COB COB PASS
response.docCatCode POB POB PASS
response.docName doc_POB.pdf doc_POB.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POI_BookByPRID_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POI_BookByPRID_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POI", "docTypCode" : "CIN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POI.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POI.pdf", "docCatCode":"POI", "docTypCode":"CIN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Identity (POI) document to book an appointment using PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CIN CIN PASS
response.docCatCode POI POI PASS
response.docName doc_POI.pdf doc_POI.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POI_UpdateDocRefID_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POI_UpdateDocRefID_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POI", "docTypCode" : "CIN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POI.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POI.pdf", "docCatCode":"POI", "docTypCode":"CIN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Identity (POI) document with the updated reference ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CIN CIN PASS
response.docCatCode POI POI PASS
response.docName doc_POI.pdf doc_POI.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POI_cancell_pending_appoinment_prid_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POI_cancell_pending_appoinment_prid_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POI", "docTypCode" : "CIN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_cancell_pending_appoinment_prid_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POI.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POI.pdf", "docCatCode":"POI", "docTypCode":"CIN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Identity (POI) document to cancel a pending appointment with PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CIN CIN PASS
response.docCatCode POI POI PASS
response.docName doc_POI.pdf doc_POI.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POI_expired_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POI_expired_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POI", "docTypCode" : "CIN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_for_expiry_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POI.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POI.pdf", "docCatCode":"POI", "docTypCode":"CIN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Identity (POI) document with an expired ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CIN CIN PASS
response.docCatCode POI POI PASS
response.docName doc_POI.pdf doc_POI.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POI_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POI_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POI", "docTypCode" : "CIN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POI.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POI.pdf", "docCatCode":"POI", "docTypCode":"CIN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Identity (POI) document
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CIN CIN PASS
response.docCatCode POI POI PASS
response.docName doc_POI.pdf doc_POI.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POR_BookByPRID_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POR_BookByPRID_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POR", "docTypCode" : "CRN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POR.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POR.pdf", "docCatCode":"POR", "docTypCode":"CRN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Residence (POR) document to book an appointment using PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CRN CRN PASS
response.docCatCode POR POR PASS
response.docName doc_POR.pdf doc_POR.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POR_UpdateDocRefID_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POR_UpdateDocRefID_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POR", "docTypCode" : "CRN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POR.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POR.pdf", "docCatCode":"POR", "docTypCode":"CRN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Residence (POR) document with the updated reference ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CRN CRN PASS
response.docCatCode POR POR PASS
response.docName doc_POR.pdf doc_POR.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POR_cancell_pending_appoinment_prid_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POR_cancell_pending_appoinment_prid_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POR", "docTypCode" : "CRN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_cancell_pending_appoinment_prid_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POR.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POR.pdf", "docCatCode":"POR", "docTypCode":"CRN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Residence (POR) document to cancel a pending appointment with PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CRN CRN PASS
response.docCatCode POR POR PASS
response.docName doc_POR.pdf doc_POR.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POR_expired_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POR_expired_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POR", "docTypCode" : "CRN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_for_expiry_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POR.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POR.pdf", "docCatCode":"POR", "docTypCode":"CRN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Residence (POR) document with an expired ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CRN CRN PASS
response.docCatCode POR POR PASS
response.docName doc_POR.pdf doc_POR.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_POR_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_POR_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POR", "docTypCode" : "CRN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POR.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POR.pdf", "docCatCode":"POR", "docTypCode":"CRN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Residence (POR) document
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CRN CRN PASS
response.docCatCode POR POR PASS
response.docName doc_POR.pdf doc_POR.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_UpdateDocRefID_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_UpdateDocRefID_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POA.pdf", "docCatCode":"POA", "docTypCode":"RNC", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=upload the valid document with the updated document reference ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS
response.docName doc_POA.pdf doc_POA.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_cancell_pending_appoinment_prid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_cancell_pending_appoinment_prid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_cancell_pending_appoinment_prid_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POA.pdf", "docCatCode":"POA", "docTypCode":"RNC", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document to cancel a pending appointment with PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS
response.docName doc_POA.pdf doc_POA.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_expiry_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_expiry_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_for_expiry_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POA.pdf", "docCatCode":"POA", "docTypCode":"RNC", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document with an expired ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS
response.docName doc_POA.pdf doc_POA.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_UploadDocument_All_Valid_Smoke_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POA.pdf", "docCatCode":"POA", "docTypCode":"RNC", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid document preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS
response.docName doc_POA.pdf doc_POA.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Blank_id_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Blank_id_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001", "message": "Request id is invalid" } ] }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document with a blank ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Invalid_doccatCode_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Invalid_doccatCode_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "shsu434@3", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_018" } ] }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document with the invalid document category code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_018 PRG_CORE_REQ_018 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Invalid_langCode_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Invalid_langCode_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "fdjdikdjda", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_014", "message": "Lang code is invalid" } ] }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document with the invalid language code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_014 PRG_CORE_REQ_014 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Rebook_the_booked_appoinment_Smoke_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Rebook_the_booked_appoinment_Smoke_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POA.pdf", "docCatCode":"POA", "docTypCode":"RNC", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the document to rebook the booked appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS
response.docName doc_POA.pdf doc_POA.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_POB_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_POB_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POB", "docTypCode" : "COB", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_CancelApplicationsAppointment_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POB.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POB.pdf", "docCatCode":"POB", "docTypCode":"COB", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Date of Birth (POB) document to cancel the application appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode COB COB PASS
response.docCatCode POB POB PASS
response.docName doc_POB.pdf doc_POB.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_POI_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_POI_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POI", "docTypCode" : "CIN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_CancelApplicationsAppointment_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POI.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POI.pdf", "docCatCode":"POI", "docTypCode":"CIN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Identity (POI) document to cancel the application appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CIN CIN PASS
response.docCatCode POI POI PASS
response.docName doc_POI.pdf doc_POI.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_POR_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_POR_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POR", "docTypCode" : "CRN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_CancelApplicationsAppointment_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POR.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POR.pdf", "docCatCode":"POR", "docTypCode":"CRN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Residence (POR) document to cancel the application appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CRN CRN PASS
response.docCatCode POR POR PASS
response.docName doc_POR.pdf doc_POR.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_CancelApplicationsAppointment_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_CancelApplicationsAppointment_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POA.pdf", "docCatCode":"POA", "docTypCode":"RNC", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Address (POA) document to cancel the application appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS
response.docName doc_POA.pdf doc_POA.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_POB_alldel_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_POB_alldel_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POB", "docTypCode" : "COB", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_alldel_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POB.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POB.pdf", "docCatCode":"POB", "docTypCode":"COB", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Date of Birth (POB) document for deletion
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode COB COB PASS
response.docCatCode POB POB PASS
response.docName doc_POB.pdf doc_POB.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_POI_alldel_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_POI_alldel_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POI", "docTypCode" : "CIN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_alldel_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POI.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POI.pdf", "docCatCode":"POI", "docTypCode":"CIN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Identity (POI) document for deletion
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CIN CIN PASS
response.docCatCode POI POI PASS
response.docName doc_POI.pdf doc_POI.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_POR_alldel_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_POR_alldel_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POR", "docTypCode" : "CRN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_alldel_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POR.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POR.pdf", "docCatCode":"POR", "docTypCode":"CRN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Residence (POR) document for deletion
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CRN CRN PASS
response.docCatCode POR POR PASS
response.docName doc_POR.pdf doc_POR.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_alldel_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_alldel_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_alldel_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POA.pdf", "docCatCode":"POA", "docTypCode":"RNC", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document for deletion
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS
response.docName doc_POA.pdf doc_POA.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_cancellappointment_POB_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_cancellappointment_POB_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POB", "docTypCode" : "COB", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_CancellAppointment_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POB.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POB.pdf", "docCatCode":"POB", "docTypCode":"COB", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Date of Birth (POB) document to cancel the appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode COB COB PASS
response.docCatCode POB POB PASS
response.docName doc_POB.pdf doc_POB.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_cancellappointment_POI_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_cancellappointment_POI_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POI", "docTypCode" : "CIN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_CancellAppointment_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POI.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POI.pdf", "docCatCode":"POI", "docTypCode":"CIN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Address (POI) document to cancelling the appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CIN CIN PASS
response.docCatCode POI POI PASS
response.docName doc_POI.pdf doc_POI.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_cancellappointment_POR_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_cancellappointment_POR_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POR", "docTypCode" : "CRN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_CancellAppointment_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POR.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POR.pdf", "docCatCode":"POR", "docTypCode":"CRN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Residence (POR) document to cancel the appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CRN CRN PASS
response.docCatCode POR POR PASS
response.docName doc_POR.pdf doc_POR.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Smoke_cancellappointment_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Smoke_cancellappointment_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Smoke_CancellAppointment_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POA.pdf", "docCatCode":"POA", "docTypCode":"RNC", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Address (POA) document to cancelling the appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS
response.docName doc_POA.pdf doc_POA.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Valid_POB_Smoke_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Valid_POB_Smoke_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POB", "docTypCode" : "COB", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POB.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POB.pdf", "docCatCode":"POB", "docTypCode":"COB", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Date of Birth (POB) document
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode COB COB PASS
response.docCatCode POB POB PASS
response.docName doc_POB.pdf doc_POB.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Valid_POR_Smoke_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Valid_POR_Smoke_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POR", "docTypCode" : "CRN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POR.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POR.pdf", "docCatCode":"POR", "docTypCode":"CRN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Residence (POR) document
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CRN CRN PASS
response.docCatCode POR POR PASS
response.docName doc_POR.pdf doc_POR.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Valid_Smoke_POI_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Valid_Smoke_POI_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POI", "docTypCode" : "CIN", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POI.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POI.pdf", "docCatCode":"POI", "docTypCode":"CIN", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Identity (POI) document
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode CIN CIN PASS
response.docCatCode POI POI PASS
response.docName doc_POI.pdf doc_POI.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_UploadDocument_Valid_Smoke_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "id":"mosip.pre-registration.document.upload", "docName":"doc_POA.pdf", "docCatCode":"POA", "docTypCode":"RNC", "docFileFormat":"pdf" }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/uploadDocument/uploadDocumentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the valid Proof of Address (POA) document
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docFileFormat pdf pdf PASS
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS
response.docName doc_POA.pdf doc_POA.pdf PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_blank_docTypCode_sid

Testcase Input
testCaseName=Prereg_UploadDocument_blank_docTypCode_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_017" } ] }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the blank Proof of Address (POA) document type code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_017 PRG_CORE_REQ_017 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_blank_doccatCode_sid

Testcase Input
testCaseName=Prereg_UploadDocument_blank_doccatCode_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_018" } ] }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document blank the document category code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_018 PRG_CORE_REQ_018 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_inValid_docTypCode_sid

Testcase Input
testCaseName=Prereg_UploadDocument_inValid_docTypCode_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "address", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_017" } ] }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the invalid Proof of Address (POA) document type code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_017 PRG_CORE_REQ_017 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_inValid_id_sid

Testcase Input
testCaseName=Prereg_UploadDocument_inValid_id_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mossjsnam54ent.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001", "message": "Request id is invalid" } ] }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document with an invalid ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_missing_docTypCode_sid

Testcase Input
testCaseName=Prereg_UploadDocument_missing_docTypCode_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "$REMOVE$", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_017" } ] }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document without the document type code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_017 PRG_CORE_REQ_017 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_missing_doccatCode_sid

Testcase Input
testCaseName=Prereg_UploadDocument_missing_doccatCode_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "$REMOVE$", "docTypCode" : "RNC", "langCode" : "$1STLANG$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_018" } ] }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document without the document category code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_018 PRG_CORE_REQ_018 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormPathParamAndFile#Prereg_UploadDocument_missing_langCode_sid

Testcase Input
testCaseName=Prereg_UploadDocument_missing_langCode_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.document.upload", "docCatCode" : "POA", "docTypCode" : "RNC", "langCode" : "$REMOVE$", "requesttime" : "$TIMESTAMP$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "filePath": "preReg/uploadDocument/doc_POA.pdf", "fileKeyName": "file" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_014", "message": "Lang code is invalid" } ] }, inputTemplate=preReg/uploadDocument/uploadDocument, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Upload the Proof of Address (POA) document with the missing document category code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_014 PRG_CORE_REQ_014 PASS

back to summary

UpdateDocRefID

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdateDocRefID_All_SpatialCharacter_RefNum_Neg

Testcase Input
testCaseName=Prereg_UpdateDocRefID_All_SpatialCharacter_RefNum_Neg, endPoint=/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber}, role=batch, templateFields=null, input={ "documentId": "89jsn$!", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "refNumber":"text" }, output={ "errors": [ { "errorCode": "PRG_PAM_DOC_005" } ] }, inputTemplate=preReg/UpdateDocRefID/updateDocRefID, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the document reference ID with the special character and reference number
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_DOC_005 PRG_PAM_DOC_005 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdateDocRefID_All_Valid_Smoke_POA_sid

Testcase Input
testCaseName=Prereg_UpdateDocRefID_All_Valid_Smoke_POA_sid, endPoint=/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber}, role=batch, templateFields=null, input={ "documentId": "$ID:UploadDocument_All_Valid_Smoke_UpdateDocRefID_sid_docId$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "refNumber":"text" }, output={ }, inputTemplate=preReg/UpdateDocRefID/updateDocRefID, outputTemplate=preReg/UpdateDocRefID/updateDocRefIDResult, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the document reference ID for the valid Proof of Address (POA)
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdateDocRefID_All_Valid_Smoke_POB_sid

Testcase Input
testCaseName=Prereg_UpdateDocRefID_All_Valid_Smoke_POB_sid, endPoint=/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber}, role=batch, templateFields=null, input={ "documentId": "$ID:UploadDocument_All_Valid_Smoke_POB_UpdateDocRefID_sid_docId$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "refNumber":"text" }, output={ }, inputTemplate=preReg/UpdateDocRefID/updateDocRefID, outputTemplate=preReg/UpdateDocRefID/updateDocRefIDResult, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the document reference ID for the valid Proof of Date of Birth (POB)
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdateDocRefID_All_Valid_Smoke_POI_sid

Testcase Input
testCaseName=Prereg_UpdateDocRefID_All_Valid_Smoke_POI_sid, endPoint=/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber}, role=batch, templateFields=null, input={ "documentId": "$ID:UploadDocument_All_Valid_Smoke_POI_UpdateDocRefID_sid_docId$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "refNumber":"text" }, output={ }, inputTemplate=preReg/UpdateDocRefID/updateDocRefID, outputTemplate=preReg/UpdateDocRefID/updateDocRefIDResult, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the document reference ID for the valid Proof of Identity (POI)
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdateDocRefID_All_Valid_Smoke_POR_sid

Testcase Input
testCaseName=Prereg_UpdateDocRefID_All_Valid_Smoke_POR_sid, endPoint=/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber}, role=batch, templateFields=null, input={ "documentId": "$ID:UploadDocument_All_Valid_Smoke_POR_UpdateDocRefID_sid_docId$", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "refNumber":"text" }, output={ }, inputTemplate=preReg/UpdateDocRefID/updateDocRefID, outputTemplate=preReg/UpdateDocRefID/updateDocRefIDResult, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the document reference ID for the valid Proof of Residence (POR)
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdateDocRefID_Exceeding_Limit_RefNum_Neg

Testcase Input
testCaseName=Prereg_UpdateDocRefID_Exceeding_Limit_RefNum_Neg, endPoint=/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber}, role=batch, templateFields=null, input={ "documentId": "qwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnm", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "refNumber":"text" }, output={ "errors": [ { "errorCode": "PRG_PAM_DOC_005" } ] }, inputTemplate=preReg/UpdateDocRefID/updateDocRefID, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the document reference ID with an exceeding limit and reference number
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_DOC_005 PRG_PAM_DOC_005 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdateDocRefID_inValid_documentId

Testcase Input
testCaseName=Prereg_UpdateDocRefID_inValid_documentId, endPoint=/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber}, role=batch, templateFields=null, input={ "documentId": "eafvsbegrw134", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$", "refNumber":"text" }, output={ "errors": [ { "errorCode": "PRG_PAM_DOC_005" } ] }, inputTemplate=preReg/UpdateDocRefID/updateDocRefID, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Update the document reference ID for the invalid document ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/document/{documentId}?preRegistrationId={preRegistrationId}&refNumber={refNumber})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_DOC_005 PRG_PAM_DOC_005 PASS

back to summary

CopyDocument

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_CopyDocument_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_CopyDocument_All_Valid_Smoke_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId}, role=batch, templateFields=null, input={ "doc_cat_code" : "POA", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ "docCatCode":"POA", "docTypCode": "RNC" }, inputTemplate=preReg/CopyDocument/copyDocument, outputTemplate=preReg/CopyDocument/copyDocumentResult, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Copy the valid Proof of Address (POA) document
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.docTypCode RNC RNC PASS
response.docCatCode POA POA PASS

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_CopyDocument_Invalid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_CopyDocument_Invalid_preRegistrationId_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId}, role=batch, templateFields=null, input={ "doc_cat_code" : "POA", "preRegistrationId": "zsvahhv@345rc" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/CopyDocument/copyDocument, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Copy the Proof of Address (POA) document with the invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_CopyDocument_blank_doc_cat_code_sid

Testcase Input
testCaseName=Prereg_CopyDocument_blank_doc_cat_code_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId}, role=batch, templateFields=null, input={ "doc_cat_code" : "", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_017" } ] }, inputTemplate=preReg/CopyDocument/copyDocument, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Copy the blank document and categorize it with the code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_017 PRG_CORE_REQ_017 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_CopyDocument_in_Valid_doc_cat_code_sid

Testcase Input
testCaseName=Prereg_CopyDocument_in_Valid_doc_cat_code_sid, endPoint=/preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId}, role=batch, templateFields=null, input={ "doc_cat_code" : "saxs@34dbjhj", "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_017" } ] }, inputTemplate=preReg/CopyDocument/copyDocument, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Copy the Proof of Address (POA) document with the invalid document category code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{preRegistrationId}?catCode={doc_cat_code}&sourcePreId={preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_017 PRG_CORE_REQ_017 PASS

back to summary

UpdatePreRegStatus

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdatePreRegStatus_All_Valid_Smoke_BookByPRID_sid

Testcase Input
testCaseName=Prereg_UpdatePreRegStatus_All_Valid_Smoke_BookByPRID_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "statusCode": "Pending_Appointment" }, output={ }, inputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatus, outputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatusResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the status for a valid booking using the PRID (Preregistration ID)
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdatePreRegStatus_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_UpdatePreRegStatus_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "statusCode": "Pending_Appointment" }, output={ }, inputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatus, outputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatusResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the status of an application to 'Pending Appointment' using the prereg ID and status code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdatePreRegStatus_CA_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_UpdatePreRegStatus_CA_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_Smoke_CancellAppointment_sid_preRegistrationId$", "statusCode": "Pending_Appointment" }, output={ }, inputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatus, outputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatusResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the status of an application to'Pending Appointment'for canceling using the prereg ID and status code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdatePreRegStatus_Smoke_CancelApplicationsAppointment_sid

Testcase Input
testCaseName=Prereg_UpdatePreRegStatus_Smoke_CancelApplicationsAppointment_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_Smoke_CancelApplicationsAppointment_sid_preRegistrationId$", "statusCode": "Pending_Appointment" }, output={ }, inputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatus, outputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatusResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the status of an application to'cancell application Appointment'using the prereg ID and status code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdatePreRegStatus_Smoke_CancellAppointment_sid

Testcase Input
testCaseName=Prereg_UpdatePreRegStatus_Smoke_CancellAppointment_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_Smoke_CancellAppointment_sid_preRegistrationId$", "statusCode": "Pending_Appointment" }, output={ }, inputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatus, outputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatusResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the status of an application to 'cancell Appointment' using the preregistration ID and status code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdatePreRegStatus_Smoke_alldel_sid

Testcase Input
testCaseName=Prereg_UpdatePreRegStatus_Smoke_alldel_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_Smoke_alldel_sid_preRegistrationId$", "statusCode": "Pending_Appointment" }, output={ }, inputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatus, outputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatusResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the status of an application to 'pending Appointment' for deleted the prereg ID and status code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdatePreRegStatus_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_UpdatePreRegStatus_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_Valid_Smoke_sid_preRegistrationId$", "statusCode": "Pending_Appointment" }, output={ }, inputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatus, outputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatusResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the application status to 'Pending Appointment' using the prereg ID and status code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdatePreRegStatus_for_expired_testcase_sid

Testcase Input
testCaseName=Prereg_UpdatePreRegStatus_for_expired_testcase_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_for_expiry_sid_preRegistrationId$", "statusCode": "Pending_Appointment" }, output={ }, inputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatus, outputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatusResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the status of the expired test case application using the prereg ID and status code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_UpdatePreRegStatus_without_update_prereg_status_sid

Testcase Input
testCaseName=Prereg_UpdatePreRegStatus_without_update_prereg_status_sid, endPoint=/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_book_appoinment_without_update_prereg_status_sid_preRegistrationId$", "statusCode": "Pending_Appointment" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_023" } ] }, inputTemplate=preReg/UpdatePreRegStatus/updatePreRegStatus, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Update the application status without modifying the preregistration status
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/status/{preRegistrationId}?statusCode={statusCode})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_023 PRG_PAM_APP_023 PASS

back to summary

GetAllDocForPrId

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllDocForPrId_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetAllDocForPrId_All_Valid_Smoke_sid, endPoint=/preregistration/v1/documents/preregistration/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ "docCatCode": "$IGNORE$", "docTypCode": "$IGNORE$" }, inputTemplate=preReg/GetAllDocForPrId/getAllDocForPrId, outputTemplate=preReg/GetAllDocForPrId/getAllDocForPrIdResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all documents associated with the valid Pre-Registration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/preregistration/{preRegistrationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllDocForPrId_inValid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_GetAllDocForPrId_inValid_preRegistrationId_sid, endPoint=/preregistration/v1/documents/preregistration/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "jhgf4324" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/GetAllDocForPrId/getAllDocForPrId, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve all documents associated with the invalid Pre-Registration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/preregistration/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

GetSpecificDocumentforaPRID

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetSpecificDocumentforaPRID_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetSpecificDocumentforaPRID_All_Valid_Smoke_sid, endPoint=/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "documentId": "$ID:UploadDocument_All_Valid_Smoke_sid_docId$" }, output={ "document": "$IGNORE$" }, inputTemplate=preReg/GetSpecificDocumentforaPRID/getSpecificDocumentforaPRID, outputTemplate=preReg/GetSpecificDocumentforaPRID/getSpecificDocumentforaPRIDResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve the specific document with a valid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetSpecificDocumentforaPRID_inValid_documentId_sid

Testcase Input
testCaseName=Prereg_GetSpecificDocumentforaPRID_inValid_documentId_sid, endPoint=/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "documentId": "shshsbz5325" }, output={ "errors": [ { "errorCode": "PRG_PAM_DOC_005" } ] }, inputTemplate=preReg/GetSpecificDocumentforaPRID/getSpecificDocumentforaPRID, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the specific document with an invalid document ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_DOC_005 PRG_PAM_DOC_005 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetSpecificDocumentforaPRID_inValid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_GetSpecificDocumentforaPRID_inValid_preRegistrationId_sid, endPoint=/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "shssb2423fsfvs", "documentId": "$ID:UploadDocument_All_Valid_Smoke_sid_docId$" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/GetSpecificDocumentforaPRID/getSpecificDocumentforaPRID, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the specific document with an invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

GetPRIDByDateRange

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_All_Valid_Smoke_sid, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10003", "fromDate": "2020-05-09", "toDate": "2030-10-11" }, output={ "id": "mosip.pre-registration.datasync.fetch.ids" }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRangeResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the given date range
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:
Output Validation Exception
io.mosip.testrig.apirig.utils.AdminTestException: Response has errors at io.mosip.testrig.apirig.utils.OutputValidationUtil.doJsonOutputValidation(OutputValidationUtil.java:523) at io.mosip.testrig.apirig.utils.OutputValidationUtil.doJsonOutputValidation(OutputValidationUtil.java:512) at io.mosip.testrig.apirig.testscripts.SimplePost.test(SimplePost.java:116) at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:180) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.startTestRunner(MosipTestRunner.java:145) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.main(MosipTestRunner.java:89) ... Removed 24 stack frames

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_Invalid_fromDate

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_Invalid_fromDate, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10001", "fromDate": "2020-05dfddd-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_019" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range where the fromDate is missing
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_019 PRG_CORE_REQ_019 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_Invalid_registrationCenterId

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_Invalid_registrationCenterId, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "100fff01", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_032" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the invalid registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_032 PRG_BOOK_RCI_032 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_Invalid_requesttime

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_Invalid_requesttime, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "OVEdgeu37373", "registrationCenterId": "10003", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_015" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the invalid request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_015 PRG_CORE_REQ_015 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_Invalid_toDate

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_Invalid_toDate, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10001", "fromDate": "2020-05-09", "toDate": "2021-1dddd0-11" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_019" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range where the 'toDate' field is invalid
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_019 PRG_CORE_REQ_019 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_blank_fromDate

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_blank_fromDate, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10001", "fromDate": "", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_019" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range where the fromDate field is blank
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_019 PRG_CORE_REQ_019 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_blank_id

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_blank_id, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10003", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the blank ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_blank_registrationCenterId

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_blank_registrationCenterId, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_DATA_SYNC_009" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the blank registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_DATA_SYNC_009 PRG_DATA_SYNC_009 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_blank_requesttime

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_blank_requesttime, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "", "registrationCenterId": "10003", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_003" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the request time that is blank
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_003 PRG_PAM_CORE_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_blank_toDate

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_blank_toDate, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10001", "fromDate": "2020-05-09", "toDate": "" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_032" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range where the toDate field is blank
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_032 PRG_BOOK_RCI_032 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_blank_version

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_blank_version, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10003", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_002" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the blank version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_002 PRG_PAM_CORE_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_inValid_id

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_inValid_id, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mop.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10003", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the Invalid ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_invalid_version

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_invalid_version, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1djhsnb@@@0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10003", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_002" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the invalid version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_002 PRG_PAM_CORE_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_missing_fromDate

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_missing_fromDate, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10001", "fromDate": "$REMOVE$", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_019" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range where the fromDate is missing
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_019 PRG_CORE_REQ_019 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_missing_id

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_missing_id, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "$REMOVE$", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10003", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the missing ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_missing_registrationCenterId

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_missing_registrationCenterId, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "$REMOVE$", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_DATA_SYNC_009" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the missing registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_DATA_SYNC_009 PRG_DATA_SYNC_009 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_missing_requesttime

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_missing_requesttime, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$REMOVE$", "registrationCenterId": "10003", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_003" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the missing request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_003 PRG_PAM_CORE_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_missing_toDate

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_missing_toDate, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "1.0", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10001", "fromDate": "2020-05-09", "toDate": "$REMOVE$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_032" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range where the toDate field is missing
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_032 PRG_BOOK_RCI_032 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetPRIDByDateRange_missing_version

Testcase Input
testCaseName=Prereg_GetPRIDByDateRange_missing_version, endPoint=/preregistration/v1/sync, role=regproc, templateFields=null, input={ "id": "mosip.pre-registration.datasync.fetch.ids", "version": "$REMOVE$", "requesttime": "$TIMESTAMP$", "registrationCenterId": "10003", "fromDate": "2020-05-09", "toDate": "2021-10-11" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_002" } ] }, inputTemplate=preReg/GetPRIDByDateRange/getPRIDByDateRange, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the PRID within the specified date range for the missing version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/sync)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_002 PRG_PAM_CORE_002 PASS

back to summary

BookAppointment

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_All_Valid_Smoke

Testcase Input
testCaseName=Prereg_BookAppointment_All_Valid_Smoke, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/bookAppointment/bookAppointmentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Book an appoinment valid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Blank_Id

Testcase Input
testCaseName=Prereg_BookAppointment_Blank_Id, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001", "message": "Request id is invalid" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a blank ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Blank_appointment_date

Testcase Input
testCaseName=Prereg_BookAppointment_Blank_appointment_date, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_008", "message": "Booking date time not selected" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a blank appointment date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_008 PRG_BOOK_RCI_008 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Blank_registration_center_id

Testcase Input
testCaseName=Prereg_BookAppointment_Blank_registration_center_id, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_007", "message": "Registration center id not entered" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a blank registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_007 PRG_BOOK_RCI_007 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Blank_requesttime

Testcase Input
testCaseName=Prereg_BookAppointment_Blank_requesttime, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_003" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a Blank request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_003 PRG_CORE_REQ_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Blank_time_slot_from

Testcase Input
testCaseName=Prereg_BookAppointment_Blank_time_slot_from, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_003" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with an blank time slot
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_003 PRG_BOOK_RCI_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Blank_time_slot_to

Testcase Input
testCaseName=Prereg_BookAppointment_Blank_time_slot_to, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_003" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with an Blank time slot form
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_003 PRG_BOOK_RCI_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Blank_version

Testcase Input
testCaseName=Prereg_BookAppointment_Blank_version, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a blank version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_CA_Smoke

Testcase Input
testCaseName=Prereg_BookAppointment_CA_Smoke, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_Smoke_CancellAppointment_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/bookAppointment/bookAppointmentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Book an appointment to cancel the existing appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_CancelApplicationsAppointment_Smoke

Testcase Input
testCaseName=Prereg_BookAppointment_CancelApplicationsAppointment_Smoke, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_Smoke_CancelApplicationsAppointment_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/bookAppointment/bookAppointmentResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Book an appointment to cancel applications the existing appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Invalid_Id

Testcase Input
testCaseName=Prereg_BookAppointment_Invalid_Id, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "moe-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Invalid_appointment_date

Testcase Input
testCaseName=Prereg_BookAppointment_Invalid_appointment_date, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "njdus6w22ybsh", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_031" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a invalid appointment date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_031 PRG_BOOK_RCI_031 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Invalid_registration_center_id

Testcase Input
testCaseName=Prereg_BookAppointment_Invalid_registration_center_id, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "363wgbsion_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "KER-MSD-215", "message": "Registration Center not found" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with an invalid registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode KER-MSD-215 KER-MSD-215 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Invalid_requesttime

Testcase Input
testCaseName=Prereg_BookAppointment_Invalid_requesttime, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "snnsjnsjn65" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_015" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a invalid request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_015 PRG_CORE_REQ_015 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Invalid_time_slot_from

Testcase Input
testCaseName=Prereg_BookAppointment_Invalid_time_slot_from, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "sbshbs653tgv", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_003" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with an invalid time slot from
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_003 PRG_BOOK_RCI_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Invalid_time_slot_to

Testcase Input
testCaseName=Prereg_BookAppointment_Invalid_time_slot_to, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "dndj36gsbsb", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_003" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with an invalid time slot
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_003 PRG_BOOK_RCI_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Invalid_version

Testcase Input
testCaseName=Prereg_BookAppointment_Invalid_version, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "snsjd73t33ybyh2334@FDh", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a invalid version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Missing_appointment_date

Testcase Input
testCaseName=Prereg_BookAppointment_Missing_appointment_date, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$REMOVE$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_008" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a missing appointment date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_008 PRG_BOOK_RCI_008 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Missing_registration_center_id

Testcase Input
testCaseName=Prereg_BookAppointment_Missing_registration_center_id, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$REMOVE$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_007", "message": "Registration center id not entered" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a missing registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_007 PRG_BOOK_RCI_007 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Missing_time_slot_to

Testcase Input
testCaseName=Prereg_BookAppointment_Missing_time_slot_to, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$REMOVE$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_003" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a missing time slot
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_003 PRG_BOOK_RCI_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_Missing_version

Testcase Input
testCaseName=Prereg_BookAppointment_Missing_version, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "$REMOVE$", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a missing version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_On_holiday

Testcase Input
testCaseName=Prereg_BookAppointment_On_holiday, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_002" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment on a holiday
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_002 PRG_BOOK_RCI_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_blank_preRegistrationId

Testcase Input
testCaseName=Prereg_BookAppointment_blank_preRegistrationId, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_015" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a blank preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_015 PRG_CORE_REQ_015 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_inValid_preRegistrationId

Testcase Input
testCaseName=Prereg_BookAppointment_inValid_preRegistrationId, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"1234fgfgdb", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with an invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 PRG_APP_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_missing_requesttime

Testcase Input
testCaseName=Prereg_BookAppointment_missing_requesttime, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$REMOVE$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_003" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a missing request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_003 PRG_CORE_REQ_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_missing_time_slot_from

Testcase Input
testCaseName=Prereg_BookAppointment_missing_time_slot_from, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$REMOVE$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_003" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with an missing time slot from
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_003 PRG_BOOK_RCI_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_previous_date

Testcase Input
testCaseName=Prereg_BookAppointment_previous_date, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "2017-02-15T04:31:23.613Z" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_013" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a previous date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_013 PRG_CORE_REQ_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_with_All_InValid_data

Testcase Input
testCaseName=Prereg_BookAppointment_with_All_InValid_data, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$nId$", "registration_center_id": "$333on_center_id$", "id": "mosip.pre-regooking.book", "version": "1.0.3fhffu", "appointment_date": "$233ntment_date$", "time_slot_from": "$time_2y6373gdg_from$", "time_slot_to": "$time_slo373$", "requesttime": "$TIMEST33dd" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_015" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Book an appointment with an invalid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_015 PRG_CORE_REQ_015 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinment#Prereg_BookAppointment_with_expired_status

Testcase Input
testCaseName=Prereg_BookAppointment_with_expired_status, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_for_expiry_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "2023-05-16", "time_slot_from": "09:00:00", "time_slot_to": "09:15:00", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_031" } ] }, inputTemplate=preReg/bookAppointment/bookAppointment, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Book an appointment with an expired status
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_031 PRG_BOOK_RCI_031 PASS

back to summary

FetchAppointmentDetailsByPrid

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_FetchAppointmentDetailsByPrid_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_FetchAppointmentDetailsByPrid_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ "registration_center_id": "10003" }, inputTemplate=preReg/FetchAppointmentDetailsByPrid/fetchAppointmentDetailsByPrid, outputTemplate=preReg/FetchAppointmentDetailsByPrid/fetchAppointmentDetailsByPridResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Fetch appointment details for the preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.registration_center_id 10003 10003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_FetchAppointmentDetailsByPrid_inValid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_FetchAppointmentDetailsByPrid_inValid_preRegistrationId_sid, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "ggfr3567ugg" }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/FetchAppointmentDetailsByPrid/fetchAppointmentDetailsByPrid, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Fetch appointment details for the invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 PRG_APP_013 PASS

back to summary

BookAppointmentByPRID

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_All_Valid_Smoke

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_All_Valid_Smoke, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRIDResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for validation
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Blank_Id

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Blank_Id, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a blank ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Blank_appointment_date

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Blank_appointment_date, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_008" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for an Blank appointment date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_008 PRG_BOOK_RCI_008 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Blank_registration_center_id

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Blank_registration_center_id, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_007" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for an Blank registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_007 PRG_BOOK_RCI_007 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Blank_requesttime

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Blank_requesttime, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_003" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a Blank request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_003 PRG_CORE_REQ_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Blank_version

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Blank_version, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a blank version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Invalid_appointment_date

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Invalid_appointment_date, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "njdus6w22ybsh", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_031" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for an invalid appointment date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_031 PRG_BOOK_RCI_031 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Invalid_registration_center_id

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Invalid_registration_center_id, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "363wgbsion_center_id", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "KER-MSD-215" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for an invalid registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode KER-MSD-215 KER-MSD-215 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Invalid_requesttime

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Invalid_requesttime, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "qerwgtgf" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_015" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a invalid request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_015 PRG_CORE_REQ_015 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Invalid_version

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Invalid_version, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "snsjd73t33ybyh2334@FDh", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Schedule an appointment with a PRID for a invalid version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Missing_appointment_date

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Missing_appointment_date, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$REMOVE$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_008" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a missing appointment date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_008 PRG_BOOK_RCI_008 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Missing_registration_center_id

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Missing_registration_center_id, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$REMOVE$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_007" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for an missing registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_007 PRG_BOOK_RCI_007 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Missing_time_slot_from

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Missing_time_slot_from, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$REMOVE$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_003" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for an missing time slot from
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_003 PRG_BOOK_RCI_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Missing_time_slot_to

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Missing_time_slot_to, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$REMOVE$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_003" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for an missing time slot to
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_003 PRG_BOOK_RCI_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_Missing_version

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_Missing_version, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "$REMOVE$", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a missing version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_blank_preRegistrationId

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_blank_preRegistrationId, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a blank preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 PRG_APP_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_blank_time_slot_from

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_blank_time_slot_from, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_003" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for an Blank time slot from
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_003 PRG_BOOK_RCI_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_blank_time_slot_to

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_blank_time_slot_to, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_003" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for an Blank time slot to
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_003 PRG_BOOK_RCI_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_inValid_Id

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_inValid_Id, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "moe.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_inValid_preRegistrationId

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_inValid_preRegistrationId, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"1234fgfgdb", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for an invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 PRG_APP_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_missing_preRegistrationId

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_missing_preRegistrationId, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$REMOVE$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$TIMESTAMP$" }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a missing preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 PRG_APP_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_missing_requesttime

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_missing_requesttime, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "$REMOVE$" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_003" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a missing request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_003 PRG_CORE_REQ_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.BookAppoinmentByPrid#Prereg_BookAppointmentByPRID_previous_requesttime

Testcase Input
testCaseName=Prereg_BookAppointmentByPRID_previous_requesttime, endPoint=/preregistration/v1/applications/appointment, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "registration_center_id": "$registration_center_id$", "id": "mosip.pre-registration.booking.book", "version": "1.0", "appointment_date": "$appointment_date$", "time_slot_from": "$time_slot_from$", "time_slot_to": "$time_slot_to$", "requesttime": "2017-02-15T04:31:23.613Z" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_013" } ] }, inputTemplate=preReg/bookAppointmentByPRID/bookAppointmentByPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Book an appointment with a PRID for a previous request time
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_013 PRG_CORE_REQ_013 PASS

back to summary

GetAppointmentDetails

io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenId#Prereg_GetAppointmentDetails_empty_space_preRegistrationId

Testcase Input
testCaseName=Prereg_GetAppointmentDetails_empty_space_preRegistrationId, endPoint=/preregistration/v1/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": " " }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/GetAppointmentDetails/getAppointmentDetails, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve appointment details for an empty space preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 NOT AVAILABLE FAIL
Output Validation Exception
io.mosip.testrig.apirig.utils.AdminTestException: Failed at output validation at io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenId.test(GetWithParamForAutoGenId.java:123) at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:180) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.startTestRunner(MosipTestRunner.java:145) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.main(MosipTestRunner.java:89) ... Removed 24 stack frames

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenId#Prereg_GetAppointmentDetails_AllValid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetAppointmentDetails_AllValid_Smoke_sid, endPoint=/preregistration/v1/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ "registration_center_id": "10003" }, inputTemplate=preReg/GetAppointmentDetails/getAppointmentDetails, outputTemplate=preReg/GetAppointmentDetails/getAppointmentDetailsResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve appointment details for a valid preregistrationID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.registration_center_id 10003 10003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenId#Prereg_GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sid, endPoint=/preregistration/v1/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$" }, output={ "registration_center_id": "10003" }, inputTemplate=preReg/GetAppointmentDetails/getAppointmentDetails, outputTemplate=preReg/GetAppointmentDetails/getAppointmentDetailsResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve appointment details booked by a valid PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.registration_center_id 10003 10003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenId#Prereg_GetAppointmentDetails_inValid_preRegistrationId

Testcase Input
testCaseName=Prereg_GetAppointmentDetails_inValid_preRegistrationId, endPoint=/preregistration/v1/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "ggfr3567ugg" }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/GetAppointmentDetails/getAppointmentDetails, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve appointment details for a invalid preregistrationID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 PRG_APP_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParamForAutoGenId#Prereg_GetAppointmentDetails_with_cancelled_appoinment

Testcase Input
testCaseName=Prereg_GetAppointmentDetails_with_cancelled_appoinment, endPoint=/preregistration/v1/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_Smoke_CancelApplicationsAppointment_sid_preRegistrationId$" }, output={ "registration_center_id": "10003" }, inputTemplate=preReg/GetAppointmentDetails/getAppointmentDetails, outputTemplate=preReg/GetAppointmentDetails/getAppointmentDetailsResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve appointment details for a cancelled appointment
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.registration_center_id 10003 10003 PASS

back to summary

CancelAppointment

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_CancelAppointment_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_CancelAppointment_All_Valid_Smoke_sid, endPoint=/preregistration/v1/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_Smoke_CancellAppointment_sid_preRegistrationId$" }, output={ }, inputTemplate=preReg/CancelAppointment/cancelAppointment, outputTemplate=preReg/CancelAppointment/cancelAppointmentResult, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Cancel appointment for a valid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/{preRegistrationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_CancelAppointment_cancell_incomplete_appoinment

Testcase Input
testCaseName=Prereg_CancelAppointment_cancell_incomplete_appoinment, endPoint=/preregistration/v1/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_cancell_incomplete_prid_sid_preRegistrationId$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_013" } ] }, inputTemplate=preReg/CancelAppointment/cancelAppointment, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Canceling an appointment with an incomplete appointment data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_013 PRG_BOOK_RCI_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_CancelAppointment_inValid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_CancelAppointment_inValid_preRegistrationId_sid, endPoint=/preregistration/v1/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "36272yhshsgblAppointment_sid_preRegistrati" }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/CancelAppointment/cancelAppointment, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Canceling an appointment with an invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 PRG_APP_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_CancelAppointment_with_already_cancelled_appoinment

Testcase Input
testCaseName=Prereg_CancelAppointment_with_already_cancelled_appoinment, endPoint=/preregistration/v1/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_Smoke_CancellAppointment_sid_preRegistrationId$" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_013" } ] }, inputTemplate=preReg/CancelAppointment/cancelAppointment, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Canceling an appointment that has already been cancelled
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_013 PRG_BOOK_RCI_013 PASS

back to summary

CancelApplicationsAppointment

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_CancelApplicationsAppointment_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_CancelApplicationsAppointment_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_Smoke_CancelApplicationsAppointment_sid_preRegistrationId$" }, output={ }, inputTemplate=preReg/CancelApplicationsAppointment/cancelApplicationsAppointment, outputTemplate=preReg/CancelApplicationsAppointment/cancelApplicationsAppointmentResult, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Canceling appointment for a valid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PutWithPathParam#Prereg_CancelApplicationsAppointment_inValid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_CancelApplicationsAppointment_inValid_preRegistrationId_sid, endPoint=/preregistration/v1/applications/appointment/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "36272yhshsgblAppointment_sid_preRegistrati" }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/CancelApplicationsAppointment/cancelApplicationsAppointment, outputTemplate=preReg/error, restMethod=put, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Canceling appointment for an invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 PRG_APP_013 PASS

back to summary

GetAvailableSlotForRegCentreId

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAvailableSlotForRegCentreId_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetAvailableSlotForRegCentreId_All_Valid_Smoke_sid, endPoint=/preregistration/v1/appointment/availability/{registrationCenterId}, role=batch, templateFields=null, input={ "registrationCenterId": "10003" }, output={ "regCenterId": "10003" }, inputTemplate=preReg/GetAvailableSlotForRegCentreId/getAvailableSlotForRegCentreId, outputTemplate=preReg/GetAvailableSlotForRegCentreId/getAvailableSlotForRegCentreIdResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve available slots for a valid registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/availability/{registrationCenterId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.regCenterId 10003 10003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAvailableSlotForRegCentreId_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetAvailableSlotForRegCentreId_Valid_Smoke_sid, endPoint=/preregistration/v1/appointment/availability/{registrationCenterId}, role=batch, templateFields=null, input={ "registrationCenterId": "10003" }, output={ "regCenterId": "10003" }, inputTemplate=preReg/GetAvailableSlotForRegCentreId/getAvailableSlotForRegCentreId, outputTemplate=preReg/GetAvailableSlotForRegCentreId/getAvailableSlotForRegCentreIdResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve available slots for a valid registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/availability/{registrationCenterId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.regCenterId 10003 10003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAvailableSlotForRegCentreId_inValid_registrationCenterId_sid

Testcase Input
testCaseName=Prereg_GetAvailableSlotForRegCentreId_inValid_registrationCenterId_sid, endPoint=/preregistration/v1/appointment/availability/{registrationCenterId}, role=batch, templateFields=null, input={ "registrationCenterId": "1shsbsb@@@GB3" }, output={ "errors": [ { "errorCode": "KER-MSD-215" } ] }, inputTemplate=preReg/GetAvailableSlotForRegCentreId/getAvailableSlotForRegCentreId, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve available slots for an invalid registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/availability/{registrationCenterId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode KER-MSD-215 KER-MSD-215 PASS

back to summary

GetBookingsForRegCenter

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetBookingsForRegCenter_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetBookingsForRegCenter_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/bookings/{regCenterId}?from_date=2020-10-01&to_date=2034-10-13, role=batch, templateFields=null, input={ "regCenterId": "10003" }, output={ "regCenterId": "10003" }, inputTemplate=preReg/GetBookingsForRegCenter/getBookingsForRegCenter, outputTemplate=preReg/GetBookingsForRegCenter/getBookingsForRegCenterResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve booking for a valid registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/bookings/{regCenterId}?from_date=2020-10-01&to_date=2034-10-13)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.regCenterId 10003 NOT AVAILABLE FAIL
Output Validation Exception
io.mosip.testrig.apirig.utils.AdminTestException: Failed at output validation at io.mosip.testrig.apirig.testscripts.GetWithParam.test(GetWithParam.java:122) at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:180) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.startTestRunner(MosipTestRunner.java:145) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.main(MosipTestRunner.java:89) ... Removed 23 stack frames

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetBookingsForRegCenter_with_InValid_date_format

Testcase Input
testCaseName=Prereg_GetBookingsForRegCenter_with_InValid_date_format, endPoint=/preregistration/v1/applications/bookings/{regCenterId}?from_date=2020-45461&to_date=2034-10-13, role=batch, templateFields=null, input={ "regCenterId": "10003" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_032" } ] }, inputTemplate=preReg/GetBookingsForRegCenter/getBookingsForRegCenter, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve booking for a registration center with an invalid date format
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/bookings/{regCenterId}?from_date=2020-45461&to_date=2034-10-13)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_032 PRG_CORE_REQ_016 FAIL
Output Validation Exception
io.mosip.testrig.apirig.utils.AdminTestException: Failed at output validation at io.mosip.testrig.apirig.testscripts.GetWithParam.test(GetWithParam.java:122) at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:180) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.startTestRunner(MosipTestRunner.java:145) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.main(MosipTestRunner.java:89) ... Removed 23 stack frames

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetBookingsForRegCenter_with_InValid_regcenter

Testcase Input
testCaseName=Prereg_GetBookingsForRegCenter_with_InValid_regcenter, endPoint=/preregistration/v1/applications/bookings/{regCenterId}?from_date=2020-10-01&to_date=2034-10-13, role=batch, templateFields=null, input={ "regCenterId": "10@@#$$003" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_032" } ] }, inputTemplate=preReg/GetBookingsForRegCenter/getBookingsForRegCenter, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve booking for a registration center with an invalid registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/bookings/{regCenterId}?from_date=2020-10-01&to_date=2034-10-13)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_032 PRG_CORE_REQ_016 FAIL
Output Validation Exception
io.mosip.testrig.apirig.utils.AdminTestException: Failed at output validation at io.mosip.testrig.apirig.testscripts.GetWithParam.test(GetWithParam.java:122) at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:180) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.startTestRunner(MosipTestRunner.java:145) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.main(MosipTestRunner.java:89) ... Removed 23 stack frames

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetBookingsForRegCenter_with_InValid_regcenter_invalidDate

Testcase Input
testCaseName=Prereg_GetBookingsForRegCenter_with_InValid_regcenter_invalidDate, endPoint=/preregistration/v1/applications/bookings/{regCenterId}?from_date=20204555&to_date=2034-10-13, role=batch, templateFields=null, input={ "regCenterId": "10@@#$$003" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_032" } ] }, inputTemplate=preReg/GetBookingsForRegCenter/getBookingsForRegCenter, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve booking for a registration center with an invalid registration center ID and an invalid date
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/bookings/{regCenterId}?from_date=20204555&to_date=2034-10-13)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_032 PRG_CORE_REQ_016 FAIL
Output Validation Exception
io.mosip.testrig.apirig.utils.AdminTestException: Failed at output validation at io.mosip.testrig.apirig.testscripts.GetWithParam.test(GetWithParam.java:122) at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:180) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.startTestRunner(MosipTestRunner.java:145) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.main(MosipTestRunner.java:89) ... Removed 23 stack frames

back to summary

GetPRIDForRegCent

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetPRIDForRegCent_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetPRIDForRegCent_All_Valid_Smoke_sid, endPoint=/preregistration/v1/appointment/preRegistrationId/{registrationCenterId}?from_date=2020-10-01&to_date=2034-10-13, role=batch, templateFields=null, input={ "registrationCenterId": "10003" }, output={ "registration_center_id": "10003" }, inputTemplate=preReg/GetPRIDForRegCent/getPRIDForRegCent, outputTemplate=preReg/GetPRIDForRegCent/getPRIDForRegCentResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve PRID for a valid registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/preRegistrationId/{registrationCenterId}?from_date=2020-10-01&to_date=2034-10-13)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.registration_center_id 10003 10003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetPRIDForRegCent_inValid_registrationCenterId_sid

Testcase Input
testCaseName=Prereg_GetPRIDForRegCent_inValid_registrationCenterId_sid, endPoint=/preregistration/v1/appointment/preRegistrationId/{registrationCenterId}?from_date=2020-10-01&to_date=2021-10-13, role=batch, templateFields=null, input={ "registrationCenterId": "1000dnsjsja2@@3" }, output={ "errors": [ { "errorCode": "PRG_BOOK_RCI_032" } ] }, inputTemplate=preReg/GetPRIDForRegCent/getPRIDForRegCent, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve PRID for an invalid registration center ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/appointment/preRegistrationId/{registrationCenterId}?from_date=2020-10-01&to_date=2021-10-13)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_BOOK_RCI_032 PRG_BOOK_RCI_032 PASS

back to summary

SendNotifications

io.mosip.testrig.apirig.testscripts.PostWithFormDataAndFileForNotificationAPI#Prereg_SendNotifications_InValid_id

Testcase Input
testCaseName=Prereg_SendNotifications_InValid_id, endPoint=/preregistration/v1/notification, role=batch, templateFields=null, input={ "id":"mosip.pre-registration.notification.notifyasdf", "version":"1.0", "requesttime":"$TIMESTAMP$", "name":"FR", "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "appointmentDate":"$ID:GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sid_appointment_date$", "appointmentTime":"$ID:GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sid_time_slot_from$", "mobNum":"9090872300", "emailID":"mosipuser123@mailinator.com", "additionalRecipient":false, "isBatch":false }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate=preReg/SendNotifications/sendNotificationsNotify, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Trigger notification with an invalid ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/notification)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 NOT AVAILABLE FAIL
Output Validation Exception
io.mosip.testrig.apirig.utils.AdminTestException: Failed at output validation at io.mosip.testrig.apirig.testscripts.PostWithFormDataAndFileForNotificationAPI.test(PostWithFormDataAndFileForNotificationAPI.java:97) at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:180) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.startTestRunner(MosipTestRunner.java:145) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.main(MosipTestRunner.java:89) ... Removed 24 stack frames

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormDataAndFileForNotificationAPI#Prereg_SendNotifications_InValid_preRegId

Testcase Input
testCaseName=Prereg_SendNotifications_InValid_preRegId, endPoint=/preregistration/v1/notification, role=batch, templateFields=null, input={ "id":"mosip.pre-registration.notification.notify", "version":"1.0", "requesttime":"$TIMESTAMP$", "name":"FR", "preRegistrationId":"sadgf", "appointmentDate":"$ID:GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sid_appointment_date$", "appointmentTime":"$ID:GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sid_time_slot_from$", "mobNum":"9090872300", "emailID":"mosipuser123@mailinator.com", "additionalRecipient":false, "isBatch":false }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/SendNotifications/sendNotificationsNotify, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Trigger notification with an invalid pre-registration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/notification)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 NOT AVAILABLE FAIL
Output Validation Exception
io.mosip.testrig.apirig.utils.AdminTestException: Failed at output validation at io.mosip.testrig.apirig.testscripts.PostWithFormDataAndFileForNotificationAPI.test(PostWithFormDataAndFileForNotificationAPI.java:97) at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:180) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.startTestRunner(MosipTestRunner.java:145) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.main(MosipTestRunner.java:89) ... Removed 24 stack frames

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormDataAndFileForNotificationAPI#Prereg_SendNotifications_All_Valid_Smoke

Testcase Input
testCaseName=Prereg_SendNotifications_All_Valid_Smoke, endPoint=/preregistration/v1/notification/notify, role=batch, templateFields=null, input={ "id":"mosip.pre-registration.notification.notify", "version":"1.0", "requesttime":"$TIMESTAMP$", "name":"TEST_FULLNAME", "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "appointmentDate":"$ID:GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sid_appointment_date$", "appointmentTime":"$ID:GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sid_time_slot_from$", "mobNum":"9090872333", "emailID":"mosipuser1234@mailinator.com", "isBatch":true }, output={ }, inputTemplate=preReg/SendNotifications/sendNotificationsNotify, outputTemplate=preReg/SendNotifications/sendNotificationsResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Trigger notification with valid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/notification/notify)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.PostWithFormDataAndFileForNotificationAPI#Prereg_SendNotifications_Notify_All_Valid_Smoke

Testcase Input
testCaseName=Prereg_SendNotifications_Notify_All_Valid_Smoke, endPoint=/preregistration/v1/notification/notify, role=batch, templateFields=null, input={ "id":"mosip.pre-registration.notification.notify", "version":"1.0", "requesttime":"$TIMESTAMP$", "name":"TEST_FULLNAME", "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$", "appointmentDate":"$ID:GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sid_appointment_date$", "appointmentTime":"$ID:GetAppointmentDetails_BookByPRID_All_Valid_Smoke_sid_time_slot_from$", "mobNum":"9090872300", "emailID":"mosipuser123@mailinator.com", "isBatch":true }, output={ }, inputTemplate=preReg/SendNotifications/sendNotificationsNotify, outputTemplate=preReg/SendNotifications/sendNotificationsResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Trigger notification to notify with valid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/notification/notify)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

DeleteSpecificDocForaPRID

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeletePreRegistration_inValid_documentId_sid

Testcase Input
testCaseName=Prereg_DeletePreRegistration_inValid_documentId_sid, endPoint=/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "documentId": "53fhv@fgjd_Smoke_sid_docId$" }, output={ "errors": [ { "errorCode": "PRG_PAM_DOC_005" } ] }, inputTemplate=preReg/DeleteSpecificDocForaPRID/deleteSpecificDocForaPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Delete preregistration with an invalid document ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_DOC_005 PRG_PAM_DOC_005 PASS

back to summary

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeletePreRegistration_inValid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_DeletePreRegistration_inValid_preRegistrationId_sid, endPoint=/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "hnyfv_preRegistrationId", "documentId": "$ID:UploadDocument_All_Valid_Smoke_sid_docId$" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/DeleteSpecificDocForaPRID/deleteSpecificDocForaPRID, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Delete preregistration with an invalid PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeleteSpecificDocForaPRID_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_DeleteSpecificDocForaPRID_All_Valid_Smoke_sid, endPoint=/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$", "documentId": "$ID:UploadDocument_All_Valid_Smoke_sid_docId$" }, output={ }, inputTemplate=preReg/DeleteSpecificDocForaPRID/deleteSpecificDocForaPRID, outputTemplate=preReg/DeleteSpecificDocForaPRID/deleteSpecificDocForaPRIDResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Delete specific document for a valid PRID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/{documentId}?preRegistrationId={preRegistrationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

DeleteAllDocForaPRID

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeletePreRegistration_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_DeletePreRegistration_All_Valid_Smoke_sid, endPoint=/preregistration/v1/documents/preregistration/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_Smoke_alldel_sid_preRegistrationId$" }, output={ }, inputTemplate=preReg/DeleteAllDocForaPRID/deleteAllDocForaPRID, outputTemplate=preReg/DeleteAllDocForaPRID/deleteAllDocForaPRIDResult, restMethod=delete, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Delete preregistration with all valid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/preregistration/{preRegistrationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeletePreRegistration_InValid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_DeletePreRegistration_InValid_preRegistrationId_sid, endPoint=/preregistration/v1/documents/preregistration/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$I8765fghsid_preRegistrationId$" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/DeleteAllDocForaPRID/deleteAllDocForaPRID, outputTemplate=preReg/error, restMethod=delete, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Delete preregistration with an invalid preregisteration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/documents/preregistration/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

DeleteBooking

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeleteBooking_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_DeleteBooking_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/appointment?preRegistrationId={preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ "deletedBy":"robin.hood@mailinator.com" }, inputTemplate=preReg/DeleteBooking/deleteBooking, outputTemplate=preReg/DeleteBooking/deleteBookingResult, restMethod=delete, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Delete bookings for all valid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/appointment?preRegistrationId={preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.deletedBy robin.hood@mailinator.com robin.hood@mailinator.com PASS

back to summary

InvalidateToken

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_InvalidateToken_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_InvalidateToken_All_Valid_Smoke_sid, endPoint=/preregistration/v1/login/invalidateToken, role=batch, templateFields=null, input={ }, output={ "response": "Loggedout successfully" }, inputTemplate=preReg/InvalidateToken/invalidatetoken, outputTemplate=preReg/InvalidateToken/invalidatetokenresult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Invalidate token using valid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/invalidateToken)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response Loggedout successfully Loggedout successfully PASS

back to summary

Transliteration

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_Transliteration_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_Transliteration_All_Valid_Smoke_sid, endPoint=/preregistration/v1/transliteration/transliterate, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.transliteration.transliterate", "version": "1.0", "requesttime": "$TIMESTAMP$", "from_field_value": "string", "from_field_lang": "eng", "to_field_lang": "ara" }, output={ "from_field_value": "string", "from_field_lang": "eng", "to_field_value": "سترِنگ", "to_field_lang": "ara" }, inputTemplate=preReg/Transliteration/translate, outputTemplate=preReg/Transliteration/translateResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the preregistration data using valid transliteration
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/transliteration/transliterate)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.to_field_value سترِنگ سترِنگ PASS
response.from_field_value string string PASS
response.to_field_lang ara ara PASS
response.from_field_lang eng eng PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_Transliteration_inValid_fromfieldlang

Testcase Input
testCaseName=Prereg_Transliteration_inValid_fromfieldlang, endPoint=/preregistration/v1/transliteration/transliterate, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.transliteration.transliterate", "version": "1.0", "requesttime": "$TIMESTAMP$", "from_field_value": "string", "from_field_lang": "wqeffv", "to_field_lang": "ara" }, output={ "errors": [ { "errorCode": "PRG_TRL_APP_002" } ] }, inputTemplate=preReg/Transliteration/translate, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the Transliteration data for an invalid 'to-field' language
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/transliteration/transliterate)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_TRL_APP_002 PRG_TRL_APP_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_Transliteration_inValid_tofieldlang

Testcase Input
testCaseName=Prereg_Transliteration_inValid_tofieldlang, endPoint=/preregistration/v1/transliteration/transliterate, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.transliteration.transliterate", "version": "1.0", "requesttime": "$TIMESTAMP$", "from_field_value": "string", "from_field_lang": "eng", "to_field_lang": "asdlka" }, output={ "errors": [ { "errorCode": "PRG_TRL_APP_002" } ] }, inputTemplate=preReg/Transliteration/translate, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve the transliteration data for an invalid to-field language
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/transliteration/transliterate)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_TRL_APP_002 PRG_TRL_APP_002 PASS

back to summary

GetAllApplications

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllApplications_InValid

Testcase Input
testCaseName=Prereg_GetAllApplications_InValid, endPoint=/preregistration/v1/applications, role=batch, templateFields=null, input={ "type": "263gedbdbegegedb" }, output={ "errors": [ { "errorCode": "PRG_APP_016" } ] }, inputTemplate=preReg/GetAllApplications/getAllApplications, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all applications with invalid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_016 NOT AVAILABLE FAIL
Output Validation Exception
io.mosip.testrig.apirig.utils.AdminTestException: Failed at output validation at io.mosip.testrig.apirig.testscripts.GetWithParam.test(GetWithParam.java:122) at org.springframework.test.context.testng.AbstractTestNGSpringContextTests.run(AbstractTestNGSpringContextTests.java:180) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.startTestRunner(MosipTestRunner.java:145) at io.mosip.testrig.apirig.testrunner.MosipTestRunner.main(MosipTestRunner.java:89) ... Removed 23 stack frames

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllApplications_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetAllApplications_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications, role=batch, templateFields=null, input={ "type": null }, output={ }, inputTemplate=preReg/GetAllApplications/getAllApplications, outputTemplate=preReg/GetAllApplications/getAllApplicationsResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all applications with valid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllApplications_InValid_Type

Testcase Input
testCaseName=Prereg_GetAllApplications_InValid_Type, endPoint=/preregistration/v1/applications?type={type}, role=batch, templateFields=null, input={ "type": "erwsdhgqw5dcfbz" }, output={ "errors": [ { "errorCode": "PRG_APP_016" } ] }, inputTemplate=preReg/GetAllApplications/getAllApplications, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve all applications with an invalid type
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications?type={type})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_016 PRG_APP_016 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllApplications_Valid_Type_Smoke_sid

Testcase Input
testCaseName=Prereg_GetAllApplications_Valid_Type_Smoke_sid, endPoint=/preregistration/v1/applications?type={type}, role=batch, templateFields=null, input={ "type": "NEW_PREREGISTRATION" }, output={ }, inputTemplate=preReg/GetAllApplications/getAllApplications, outputTemplate=preReg/GetAllApplications/getAllApplicationsResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all applications with a valid type
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications?type={type})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

GetAllApplicationsWithapplicationId

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllApplicationsWithapplicationId_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetAllApplicationsWithapplicationId_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/{applicationId}, role=batch, templateFields=null, input={ "applicationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ }, inputTemplate=preReg/GetAllApplicationsWithapplicationId/GetAllApplicationsWithapplicationId, outputTemplate=preReg/GetAllApplicationsWithapplicationId/getAllApplicationsResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all applications with the application ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/{applicationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllApplicationsWithapplicationId_with_expired

Testcase Input
testCaseName=Prereg_GetAllApplicationsWithapplicationId_with_expired, endPoint=/preregistration/v1/applications/{applicationId}, role=batch, templateFields=null, input={ "applicationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ }, inputTemplate=preReg/GetAllApplicationsWithapplicationId/GetAllApplicationsWithapplicationId, outputTemplate=preReg/GetAllApplicationsWithapplicationId/getAllApplicationsResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all applications with the expired application ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/{applicationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllApplicationsWithapplicationId_with_invalid_applicationId

Testcase Input
testCaseName=Prereg_GetAllApplicationsWithapplicationId_with_invalid_applicationId, endPoint=/preregistration/v1/applications/{applicationId}, role=batch, templateFields=null, input={ "applicationId": "26363gdgdb@636e4gdg" }, output={ "errors": [ { "errorCode": "PRG_APP_013" } ] }, inputTemplate=preReg/GetAllApplicationsWithapplicationId/GetAllApplicationsWithapplicationId, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all applications with an invalid application ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/{applicationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_APP_013 PRG_APP_013 PASS

back to summary

GetUpdatedDateTimeByPrid

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetUpdatedDateTimeByPrid_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetUpdatedDateTimeByPrid_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg/updatedTime, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.demographic.retrieve.date", "version": "1.0", "requesttime": "$TIMESTAMP$", "registartion_center_id": "10003", "pre_registration_ids": [ { "pre_registration_id":"$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, { "pre_registration_id":"$ID:CreatePrereg_Valid_Smoke_sid_preRegistrationId$" }, { "pre_registration_id":"$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$" } ] }, output={ }, inputTemplate=preReg/GetUpdatedDateTimeByPrid/getUpdatedDateTimeByPrid, outputTemplate=preReg/GetUpdatedDateTimeByPrid/getUpdatedDateTimeByPridResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all applications with the application ID using valid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/updatedTime)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_GetUpdatedDateTimeByPrid_InValid_ID

Testcase Input
testCaseName=Prereg_GetUpdatedDateTimeByPrid_InValid_ID, endPoint=/preregistration/v1/applications/prereg/updatedTime, role=batch, templateFields=null, input={ "id": "mosip.pre-registration.demographic.retrieve.date", "version": "1.0", "requesttime": "$TIMESTAMP$", "registartion_center_id": "10003", "pre_registration_ids": [ { "pre_registration_id":"rtr4243456rsdgfb" } ] }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/GetUpdatedDateTimeByPrid/getUpdatedDateTimeByPrid, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve all applications with the application ID using invalid ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/updatedTime)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

AddUpdateRegistration

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddUpdateRegistration_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_AddUpdateRegistration_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/updateregistration, role=batch, templateFields=[langCode], input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "langCode": "eng", "id": "mosip.pre-registration.updateregistration.create" }, output={ "bookingType": "UPDATE_REGISTRATION", "applicationStatusCode": "SUBMITTED" }, inputTemplate=preReg/AddUpdateRegistration/addUpdateRegistration, outputTemplate=preReg/AddUpdateRegistration/addUpdateRegistrationResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=add an update to the registration with valid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/updateregistration)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType UPDATE_REGISTRATION UPDATE_REGISTRATION PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/updateregistration)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType UPDATE_REGISTRATION UPDATE_REGISTRATION PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/updateregistration)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType UPDATE_REGISTRATION UPDATE_REGISTRATION PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/updateregistration)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType UPDATE_REGISTRATION UPDATE_REGISTRATION PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/updateregistration)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType UPDATE_REGISTRATION UPDATE_REGISTRATION PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/updateregistration)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType UPDATE_REGISTRATION UPDATE_REGISTRATION PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType UPDATE_REGISTRATION UPDATE_REGISTRATION PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddUpdateRegistration_inValid_langcode

Testcase Input
testCaseName=Prereg_AddUpdateRegistration_inValid_langcode, endPoint=/preregistration/v1/applications/updateregistration, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "langCode": "xyz", "id": "mosip.pre-registration.updateregistration.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_014", "message": "Lang code is invalid" } ] }, inputTemplate=preReg/AddUpdateRegistration/addUpdateRegistration, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=add an update to the registration with an invalid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/updateregistration)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_014 PRG_CORE_REQ_014 PASS

back to summary

AddLostUinApplication

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddLostUinApplication_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_AddLostUinApplication_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/lostuin, role=batch, templateFields=[langCode], input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "langCode": "eng", "id": "mosip.pre-registration.lostuin.create" }, output={ "bookingType": "LOST_FORGOTTEN_UIN", "applicationStatusCode": "SUBMITTED" }, inputTemplate=preReg/AddLostUinApplication/addLostUinApplication, outputTemplate=preReg/AddLostUinApplication/addLostUinApplicationResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=process the lost UIN application with a valid ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddLostUinApplication_Invalid_id

Testcase Input
testCaseName=Prereg_AddLostUinApplication_Invalid_id, endPoint=/preregistration/v1/applications/lostuin, role=batch, templateFields=[langCode], input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "langCode": "eng", "id": "n.create" }, output={ "errors": [ { "errorCode": "PRG_PAM_CORE_001" } ] }, inputTemplate=preReg/AddLostUinApplication/addLostUinApplication, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=process the lost UIN application with an invalid ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_CORE_001 PRG_PAM_CORE_001 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddLostUinApplication_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_AddLostUinApplication_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/lostuin, role=batch, templateFields=[langCode], input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "langCode": "eng", "id": "mosip.pre-registration.lostuin.create" }, output={ "bookingType": "LOST_FORGOTTEN_UIN", "applicationStatusCode": "SUBMITTED" }, inputTemplate=preReg/AddLostUinApplication/addLostUinApplication, outputTemplate=preReg/AddLostUinApplication/addLostUinApplicationResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Process the lost UIN application with a valid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.bookingType LOST_FORGOTTEN_UIN LOST_FORGOTTEN_UIN PASS
response.applicationStatusCode SUBMITTED SUBMITTED PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddLostUinApplication_inValid_langcode

Testcase Input
testCaseName=Prereg_AddLostUinApplication_inValid_langcode, endPoint=/preregistration/v1/applications/lostuin, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "langCode": "xyz", "id": "mosip.pre-registration.lostuin.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_014" } ] }, inputTemplate=preReg/AddLostUinApplication/addLostUinApplication, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Process the lost UIN application with an invalid language code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_014 PRG_CORE_REQ_014 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddLostUinApplication_invalid_lang_code

Testcase Input
testCaseName=Prereg_AddLostUinApplication_invalid_lang_code, endPoint=/preregistration/v1/applications/lostuin, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "langCode": "e@@dd", "id": "mosip.pre-registration.lostuin.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_014" } ] }, inputTemplate=preReg/AddLostUinApplication/addLostUinApplication, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Process the lost UIN application with an invalid language code
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_014 PRG_CORE_REQ_014 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddLostUinApplication_with_INVALID_version

Testcase Input
testCaseName=Prereg_AddLostUinApplication_with_INVALID_version, endPoint=/preregistration/v1/applications/lostuin, role=batch, templateFields=[langCode], input={ "version": "$353F@GGWYS", "requesttime": "$TIMESTAMP$", "langCode": "eng", "id": "mosip.pre-registration.lostuin.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate=preReg/AddLostUinApplication/addLostUinApplication, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Process the lost UIN application with an invalid version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddLostUinApplication_without_any_data

Testcase Input
testCaseName=Prereg_AddLostUinApplication_without_any_data, endPoint=/preregistration/v1/applications/lostuin, role=batch, templateFields=null, input={ "version": "", "requesttime": "", "langCode": "", "id": "" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_003" } ] }, inputTemplate=preReg/AddLostUinApplication/addLostUinApplication, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Process the lost UIN application with no data provided
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_003 PRG_CORE_REQ_003 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddLostUinApplication_without_version

Testcase Input
testCaseName=Prereg_AddLostUinApplication_without_version, endPoint=/preregistration/v1/applications/lostuin, role=batch, templateFields=[langCode], input={ "version": "", "requesttime": "$TIMESTAMP$", "langCode": "eng", "id": "mosip.pre-registration.lostuin.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate=preReg/AddLostUinApplication/addLostUinApplication, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Process the lost UIN application without specifying the version
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_AddLostUinApplication_without_version_attribute

Testcase Input
testCaseName=Prereg_AddLostUinApplication_without_version_attribute, endPoint=/preregistration/v1/applications/lostuin, role=batch, templateFields=[langCode], input={ "version": "$IGNORE$", "requesttime": "$TIMESTAMP$", "langCode": "eng", "id": "mosip.pre-registration.lostuin.create" }, output={ "errors": [ { "errorCode": "PRG_CORE_REQ_002" } ] }, inputTemplate=preReg/AddLostUinApplication/addLostUinApplication, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Process the lost UIN application without specifying the version and attribute
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/lostuin)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_CORE_REQ_002 PRG_CORE_REQ_002 PASS

back to summary

DeleteLostUinApplication

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeleteLostUinApplication_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_DeleteLostUinApplication_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg/{applicationId}, role=batch, templateFields=null, input={ "applicationId": "$ID:CreatePrereg_Valid_Smoke_sid_preRegistrationId$" }, output={ "deletedBy": "$IGNORE$" }, inputTemplate=preReg/DeleteLostUinApplication/deleteLostUinApplication, outputTemplate=preReg/DeleteLostUinApplication/deleteLostUinApplicationResult, restMethod=delete, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Delete the lost UIN application with valid data
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{applicationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeleteLostUinApplication_after_its_deletion

Testcase Input
testCaseName=Prereg_DeleteLostUinApplication_after_its_deletion, endPoint=/preregistration/v1/applications/prereg/{applicationId}, role=batch, templateFields=null, input={ "applicationId": "$ID:CreatePrereg_Valid_Smoke_sid_preRegistrationId$" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/DeleteLostUinApplication/deleteLostUinApplication, outputTemplate=preReg/error, restMethod=delete, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Delete the lost UIN application after it has been removed
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{applicationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeleteLostUinApplication_inValid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_DeleteLostUinApplication_inValid_preRegistrationId_sid, endPoint=/preregistration/v1/applications/prereg/{applicationId}, role=batch, templateFields=null, input={ "applicationId": "nhhh654443@@ffffv" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/DeleteLostUinApplication/deleteLostUinApplication, outputTemplate=preReg/error, restMethod=delete, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Delete the lost UIN application with an invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{applicationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeleteLostUinApplication_multiple_application_sid

Testcase Input
testCaseName=Prereg_DeleteLostUinApplication_multiple_application_sid, endPoint=/preregistration/v1/applications/prereg/{applicationId}, role=batch, templateFields=null, input={ "applicationId": "$ID:CreatePrereg_All_Valid_Smoke_UpdateDocRefID_sid_preRegistrationId$" }, output={ "deletedBy": "$IGNORE$" }, inputTemplate=preReg/DeleteLostUinApplication/deleteLostUinApplication, outputTemplate=preReg/DeleteLostUinApplication/deleteLostUinApplicationResult, restMethod=delete, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Delete the lost UIN application with multiple preregistration IDs for the application
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{applicationId})

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeleteLostUinApplication_random_number_sid

Testcase Input
testCaseName=Prereg_DeleteLostUinApplication_random_number_sid, endPoint=/preregistration/v1/applications/prereg/{applicationId}, role=batch, templateFields=null, input={ "applicationId": "12736445738389" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/DeleteLostUinApplication/deleteLostUinApplication, outputTemplate=preReg/error, restMethod=delete, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Delete the lost UIN application with a random number preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{applicationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

DeletePreRegistration

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeletePreRegistration_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_DeletePreRegistration_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_BookByPRID_sid_preRegistrationId$" }, output={ "deletedBy": "robin.hood@mailinator.com" }, inputTemplate=preReg/DeletePreRegistration/deletePreRegistration, outputTemplate=preReg/DeletePreRegistration/deletePreRegistrationResult, restMethod=delete, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Delete the preregistration with a valid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.deletedBy robin.hood@mailinator.com robin.hood@mailinator.com PASS

back to summary

io.mosip.testrig.apirig.testscripts.DeleteWithParam#Prereg_DeletePreRegistration_inValid_preRegistrationId_sid

Testcase Input
testCaseName=Prereg_DeletePreRegistration_inValid_preRegistrationId_sid, endPoint=/preregistration/v1/applications/prereg/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "nhhh654443@@ffffv" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/DeletePreRegistration/deletePreRegistration, outputTemplate=preReg/error, restMethod=delete, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Delete the preregistration with an invalid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

GetPreRegInfo

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetPreRegInfoByPrid_Valid_preRegistrationId

Testcase Input
testCaseName=Prereg_GetPreRegInfoByPrid_Valid_preRegistrationId, endPoint=/preregistration/v1/applications/prereg/info/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "$ID:CreatePrereg_All_Valid_Smoke_sid_preRegistrationId$" }, output={ "postalCode":"14022", "dateOfBirth": "$IGNORE$", "IDSchemaVersion": "$IGNORE$", "phone": "$IGNORE$" }, inputTemplate=preReg/GetPreRegInfoByPrid/getPreRegInfoByPrid, outputTemplate=preReg/GetPreRegInfoByPrid/getPreRegInfoByPridResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve preregistration information using the preReg Id with a valid preRegistrationId
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/info/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.demographicResponse.demographicDetails.identity.phone 8249742850 8249742850 PASS
response.demographicResponse.demographicDetails.identity.dateOfBirth 1996/01/01 1996/01/01 PASS
response.demographicResponse.demographicDetails.identity.email goku@hogwarts.co.in goku@hogwarts.co.in PASS
response.demographicResponse.demographicDetails.identity.postalCode 14022 14022 PASS

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetPreRegInfoByPrid_inValid_preRegistrationId

Testcase Input
testCaseName=Prereg_GetPreRegInfoByPrid_inValid_preRegistrationId, endPoint=/preregistration/v1/applications/prereg/info/{preRegistrationId}, role=batch, templateFields=null, input={ "preRegistrationId": "123456" }, output={ "errors": [ { "errorCode": "PRG_PAM_APP_005" } ] }, inputTemplate=preReg/GetPreRegInfoByPrid/getPreRegInfoByPrid, outputTemplate=preReg/error, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Retrieve preregistration information using the preReg Id with an invalid preRegistrationId
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications/prereg/info/{preRegistrationId})

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_APP_005 PRG_PAM_APP_005 PASS

back to summary

GetAllPreRegApplications

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllPreRegApplications_All_Valid_Smoke_sid

Testcase Input
testCaseName=Prereg_GetAllPreRegApplications_All_Valid_Smoke_sid, endPoint=/preregistration/v1/applications, role=batch, templateFields=null, input={}, output={ "bookingType": "NEW_PREREGISTRATION" }, inputTemplate=preReg/GetAllPreRegApplications/getAllPreRegApplications, outputTemplate=preReg/GetAllPreRegApplications/GetAllPreRegApplicationsResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all preregistered applications with a valid preregistration ID
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllPreRegApplications_DELETE_UIN_APPLICATION_sid

Testcase Input
testCaseName=Prereg_GetAllPreRegApplications_DELETE_UIN_APPLICATION_sid, endPoint=/preregistration/v1/applications, role=batch, templateFields=null, input={}, output={ "bookingType": "NEW_PREREGISTRATION" }, inputTemplate=preReg/GetAllPreRegApplications/getAllPreRegApplications, outputTemplate=preReg/GetAllPreRegApplications/GetAllPreRegApplicationsResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all preregistered applications with a prereg ID associated with a deleted UIN application
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.GetWithParam#Prereg_GetAllPreRegApplications_LOST_UIN_APPLICATION_sid

Testcase Input
testCaseName=Prereg_GetAllPreRegApplications_LOST_UIN_APPLICATION_sid, endPoint=/preregistration/v1/applications, role=batch, templateFields=null, input={}, output={ "bookingType": "NEW_PREREGISTRATION" }, inputTemplate=preReg/GetAllPreRegApplications/getAllPreRegApplications, outputTemplate=preReg/GetAllPreRegApplications/GetAllPreRegApplicationsResult, restMethod=get, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Retrieve all preregistered applications with a prereg ID associated with the lost UIN application
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/applications)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

SendOtp

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_SendOtp_All_Valid_Smoke_Phone_sid

Testcase Input
testCaseName=Prereg_SendOtp_All_Valid_Smoke_Phone_sid, endPoint=/preregistration/v1/login/sendOtp/langcode, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "9090872300", "id": "mosip.pre-registration.login.sendotp" }, output={ "status": "success" }, inputTemplate=preReg/SendOtp/sendotp, outputTemplate=preReg/SendOtp/sendotpResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=null
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/sendOtp/langcode)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.status success success PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_SendOtp_All_Valid_Smoke_email_sid

Testcase Input
testCaseName=Prereg_SendOtp_All_Valid_Smoke_email_sid, endPoint=/preregistration/v1/login/sendOtp/langcode, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "john.doe@mailinator.com", "id": "mosip.pre-registration.login.sendotp" }, output={ "status": "success" }, inputTemplate=preReg/SendOtp/sendotp, outputTemplate=preReg/SendOtp/sendotpResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=null
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/sendOtp/langcode)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
response.status success success PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_SendOtp_Invalid_Phone_Neg

Testcase Input
testCaseName=Prereg_SendOtp_Invalid_Phone_Neg, endPoint=/preregistration/v1/login/sendOtp/langcode, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "12", "id": "mosip.pre-registration.login.sendotp" }, output={ "errors": [ { "errorCode": "PRG_PAM_LGN_008" } ] }, inputTemplate=preReg/SendOtp/sendotp, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Send OTP by providing an invalid phone number on the phone channel side
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/sendOtp/langcode)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_LGN_008 PRG_PAM_LGN_008 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_SendOtp_Invalid__email_Neg

Testcase Input
testCaseName=Prereg_SendOtp_Invalid__email_Neg, endPoint=/preregistration/v1/login/sendOtp/langcode, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "jo32", "id": "mosip.pre-registration.login.sendotp" }, output={ "errors": [ { "errorCode": "PRG_PAM_LGN_008" } ] }, inputTemplate=preReg/SendOtp/sendotp, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Send OTP using an invalid email address via the email channel
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/sendOtp/langcode)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_LGN_008 PRG_PAM_LGN_008 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_SendOtp_MISSING_Phone_Neg

Testcase Input
testCaseName=Prereg_SendOtp_MISSING_Phone_Neg, endPoint=/preregistration/v1/login/sendOtp/langcode, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "$REMOVE$", "id": "mosip.pre-registration.login.sendotp" }, output={ "errors": [ { "errorCode": "PRG_PAM_LGN_008" } ] }, inputTemplate=preReg/SendOtp/sendotp, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Sent OTP without a phone number
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/sendOtp/langcode)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_LGN_008 PRG_PAM_LGN_008 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_SendOtp_Missing_email_Neg

Testcase Input
testCaseName=Prereg_SendOtp_Missing_email_Neg, endPoint=/preregistration/v1/login/sendOtp/langcode, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "$REMOVE$", "id": "mosip.pre-registration.login.sendotp" }, output={ "errors": [ { "errorCode": "PRG_PAM_LGN_008" } ] }, inputTemplate=preReg/SendOtp/sendotp, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Sent OTP without an email address via the email channel
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/sendOtp/langcode)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_LGN_008 PRG_PAM_LGN_008 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_SendOtp_SpacialCharacter_Val_Phone_Neg

Testcase Input
testCaseName=Prereg_SendOtp_SpacialCharacter_Val_Phone_Neg, endPoint=/preregistration/v1/login/sendOtp/langcode, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "974$%26", "id": "mosip.pre-registration.login.sendotp" }, output={ "errors": [ { "errorCode": "PRG_PAM_LGN_008" } ] }, inputTemplate=preReg/SendOtp/sendotp, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Sent OTP with special characters through the phone channel
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/sendOtp/langcode)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_LGN_008 PRG_PAM_LGN_008 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_SendOtp_SpacialCharacter_email_Neg

Testcase Input
testCaseName=Prereg_SendOtp_SpacialCharacter_email_Neg, endPoint=/preregistration/v1/login/sendOtp/langcode, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "$!&", "id": "mosip.pre-registration.login.sendotp" }, output={ "errors": [ { "errorCode": "PRG_PAM_LGN_008" } ] }, inputTemplate=preReg/SendOtp/sendotp, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=false, allowedErrorCodes=null, kycFields=null, description=Sent OTP with special characters through the email channel
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/sendOtp/langcode)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_LGN_008 PRG_PAM_LGN_008 PASS

back to summary

ValidateOtp

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_ValidateOtp_All_Valid_Smoke_Phone_sid

Testcase Input
testCaseName=Prereg_ValidateOtp_All_Valid_Smoke_Phone_sid, endPoint=/preregistration/v1/login/validateOtp, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "9090872300", "otp": "DYNAMICOTP", "id": "mosip.pre-registration.login.useridotp" }, output={ }, inputTemplate=preReg/ValidateOtp/validateOtp, outputTemplate=preReg/ValidateOtp/validateOtpResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Validating OTP with an invalid phone number
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/validateOtp)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_ValidateOtp_All_Valid_Smoke_email_sid

Testcase Input
testCaseName=Prereg_ValidateOtp_All_Valid_Smoke_email_sid, endPoint=/preregistration/v1/login/validateOtp, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "john.doe@mailinator.com", "otp": "DYNAMICOTP", "id": "mosip.pre-registration.login.useridotp" }, output={ }, inputTemplate=preReg/ValidateOtp/validateOtp, outputTemplate=preReg/ValidateOtp/validateOtpResult, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Validating OTP with a valid phone number
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/validateOtp)

Response:

Marking test case as passed. As Output validation not performed and no errors in the response

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_ValidateOtp_Invalid_Email_Neg_INVALIDOTP

Testcase Input
testCaseName=Prereg_ValidateOtp_Invalid_Email_Neg_INVALIDOTP, endPoint=/preregistration/v1/login/validateOtp, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "joh23", "otp": "DYNAMICOTP", "id": "mosip.pre-registration.login.useridotp" }, output={ "errors": [ { "errorCode": "PRG_PAM_LGN_013" } ] }, inputTemplate=preReg/ValidateOtp/validateOtp, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Validating OTP with an invalid email address
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/validateOtp)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_LGN_013 PRG_PAM_LGN_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_ValidateOtp_Invalid_Phone_Neg_INVALIDOTP

Testcase Input
testCaseName=Prereg_ValidateOtp_Invalid_Phone_Neg_INVALIDOTP, endPoint=/preregistration/v1/login/validateOtp, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "909", "otp": "DYNAMICOTP", "id": "mosip.pre-registration.login.useridotp" }, output={ "errors": [ { "errorCode": "PRG_PAM_LGN_013" } ] }, inputTemplate=preReg/ValidateOtp/validateOtp, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Validating OTP with a phone number containing special characters
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/validateOtp)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_LGN_013 PRG_PAM_LGN_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_ValidateOtp_SpacialCharacters_Email_Neg_INVALIDOTP

Testcase Input
testCaseName=Prereg_ValidateOtp_SpacialCharacters_Email_Neg_INVALIDOTP, endPoint=/preregistration/v1/login/validateOtp, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "john.doe@mail$!inator.com", "otp": "DYNAMICOTP", "id": "mosip.pre-registration.login.useridotp" }, output={ "errors": [ { "errorCode": "PRG_PAM_LGN_013" } ] }, inputTemplate=preReg/ValidateOtp/validateOtp, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=Validating OTP with an email address containing special characters
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/validateOtp)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_LGN_013 PRG_PAM_LGN_013 PASS

back to summary

io.mosip.testrig.apirig.testscripts.SimplePost#Prereg_ValidateOtp_SpacialCharacters_Phone_Neg_INVALIDOTP

Testcase Input
testCaseName=Prereg_ValidateOtp_SpacialCharacters_Phone_Neg_INVALIDOTP, endPoint=/preregistration/v1/login/validateOtp, role=batch, templateFields=null, input={ "version": "1.0", "requesttime": "$TIMESTAMP$", "userId": "$!(", "otp": "DYNAMICOTP", "id": "mosip.pre-registration.login.useridotp" }, output={ "errors": [ { "errorCode": "PRG_PAM_LGN_013" } ] }, inputTemplate=preReg/ValidateOtp/validateOtp, outputTemplate=preReg/error, restMethod=post, regenerateHbs=false, validityCheckRequired=false, auditLogCheck=false, checkErrorsOnlyInResponse=true, allowedErrorCodes=null, kycFields=null, description=validating OPT with valid email address
Messages
Request: (End Point URL: https://api-internal.released.mosip.net/preregistration/v1/login/validateOtp)

Response:

Output validation: EXPECTED vs ACTUAL
FieldName Expected Value Actual Value Status
(errors)[0].errorCode PRG_PAM_LGN_013 PRG_PAM_LGN_013 PASS

back to summary